Skip to content

filipemir/trump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Best Words

See project live at the-best-words.com.

A small sampling of Donald Trump's best words. Heavily inspired by (and indebted to) They Don't Want You To Win, a far funnier and less depressing project.

Local Development

  • Clone repository
  • Prepare local database:
  • Setup local instance of app:
    • Install node
    • Run npm install
    • Run grunt db-seed to seed your local database
    • Run grunt develop

Deployment

In order to deploy, you'll need to setup a hosted mongo database somewhere. Once you have set your hosted database up, you'll need to specify the environment variables below in whatever environment will be running the app in production. To run it locally in the production environment, create a .env file in the project's root following this template:

DB_LOCATION=<location of mongoDB in production, e.g. 'ds123456.mlab.com:23456'>
DB_USER=<username to access DB>
DB_PASSWORD=<password to access DB>
FB_APP_ID=<id of facebook app, for sharing>
GA_TRACKING_ID=<Google Analytics tracking ID>

Then seed your production database by running grunt db-seed --env=production.