GIF Buddy getting started
- 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
- Fill out the required variables.
CLIENT_IDis your OAuth client ID
CLIENT_SECRETis your application's OAuth secret
SCOPEis a comma separated list of scopes see here for more information.
DB_NAMEis the PostgreSQL database name
DB_USERis your database user
DB_PASSis your database password
DB_HOSTis most likely
GIPHY_KEYis 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 email@example.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