GIF Buddy getting started
GIF Buddy is a simple Node.js Burner app using Express 4 and Foundation 6
Running Locally
Install PostgreSQL
- Install PostgreSQL from here or if you want an easy Mac OS X GUI grab it here.
- Create a Database and Database user/password
Create your app
- Request OAuth credentials here.
Set up .env variables
- Copy the
env
file to.env
- Fill out the required variables.
CLIENT_ID
is your OAuth client IDCLIENT_SECRET
is your application's OAuth secretSCOPE
is a comma separated list of scopes see here for more information.DB_NAME
is the PostgreSQL database nameDB_USER
is your database userDB_PASS
is your database passwordDB_HOST
is most likelylocalhost
GIPHY_KEY
is your giphy key. The public key you can use for testing can be found here.
Run the app
Make sure you have Node.js installed.
$ git clone git@github.com:adhoclabs/burner-control-panel.git # or clone your own fork
$ cd gif-buddy
$ npm install
$ npm start
Your app should now be running on localhost:5000.
Deploying to Heroku
If you'd like to deploy this app to your own Heroku instance, make sure you have the Heroku CLI installed and then run the following commands.
$ heroku create
$ git push heroku master
$ heroku open
You'll also need to add your env file's config variables via the Heroku CLI