Skip to content

Streamaze/streamaze-api

 
 

Repository files navigation

Streamaze API

Depends On

Setup

$ git clone https://github.com/ZaneH/streamaze-api.git
$ cd streamaze-api
$ mix deps.get
$ mix ecto.setup # check dev.exs if this fails
$ mix ecto.migrate
$ cd assets/; npm install;
$ cd ..
$ iex -S mix phx.server # on localhost:4000

Environment Variables

# AWS config for S3 uploads
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_REGION=

# For OBS control, livebond is closed-source, fill this with a dummy value
export LIVEBOND_API_URL=

# For PayPal Subscriptions. Subscriptions aren't required in
# the open-source version, but the code is still there.
export PAYPAL_CLIENT_ID= # PayPal API client ID
export PAYPAL_SECRET_KEY= # PayPal API secret key
export PAYPAL_WEBHOOK_ID= # PayPal API webhook ID
export PAYPAL_PLAN_1_ID= # PayPal API plan ID

# Mailgun config
export MAILGUN_API_KEY=
export MAILGUN_DOMAIN=

Learn more

Sponsor this project

 

Languages

  • Elixir 71.4%
  • HTML 23.4%
  • CSS 2.5%
  • JavaScript 2.0%
  • Dockerfile 0.7%
  • Shell 0.0%