- React
- seamless-immutable
- Webpack + Babel + ES6 + JSX
- Hot Module Reloading
- Source maps
- ESLint
- Jasmine + Karma + PhantomJS
-
Install VirtualBox
-
Install Vagrant
-
Install Ansible
-
Clone the project
git clone https://github.com/solarcitizens/letters-to-the-editor.git
-
Start the Vagrant VM
vagrant up && vagrant provision
-
Log onto the VM
vagrant ssh
-
Find the project files
cd /vagrant
-
Install dependencies
npm install
-
Email configuration [Optional]
1. Get a Mailgun account. 2. Add MAILGUN_API_KEY="your-key" to environment vars 3. Turn on the toggle `email.sendEmails` in each specific environment (`config/default.json`, `config/staging.json`, `config/production.json`)
-
Run the tests
npm test
-
Start the server
npm start