Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.48 KB

FAQ.md

File metadata and controls

32 lines (24 loc) · 1.48 KB
  1. Where do you compile your css? We use ExtractTextPlugin to extract compiled css in our webpack config file. Checkout out the webpack/ folder! Read more about postcss and Css modules here.
  2. What loaders do you use for ES6/ ES2015? babel-loader. Seriously, try it!
  3. Google Authentication does not work locally or on heroku!
    1. Follow these steps from Google to create your API keys on Google Developers Console
    2. Under APIs & Auth, Copy your Client ID and Client Secret

Dev

  • For Google Auth to work locally, you need to do the following in your terminal before starting the server:
export GOOGLE_CLIENTID=YOUR_CLIENTID
export GOOGLE_SECRET=YOUR_SECRET

Heroku

  • Fret not! Heroku's covered this pretty well:
heroku config:set GOOGLE_CLIENTID=YOUR_CLIENTID
heroku config:set GOOGLE_SECRET=YOUR_SECRET
heroku config:set GOOGLE_CALLBACK=YOUR_CALLBACK
  1. I do not know how to write React Components/anything in ES6. Help!
    • Don't you worry child. Read this.
    • You can learn more about ES6 (or ES2015) here.