- express
- react
- gulp
- sass
- browserify
- babel
- knex
- bookshelf
- Download / fork / clone
- Run
npm install -g gulp knex - Run
npm installto install dependencies - Run
brew/apt-get install redis postgresto get redis which is used for storing session data, and postgres - In postgres, create a database called
intercrop, a user for the app, and give the user permissions to the database createdb intercropsu - postgrespsql template1CREATE USER appusername WITH PASSWORD 'apppassword';GRANT ALL PRIVILEGES ON DATABASE "intercrop" to appusername;\qexit- Copy
config.example.jstoconfig.jsand update the values appropriately knex migrate:latestknex seed:run- Run
gulpto start the server - Point your browser at http://localhost:3000/ and enjoy
If FSWatcher throws an error, run echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p