Build Status:
Application Demonstration
- Kyle Hodgetts
- Dominik Kulon
- Ana Jalba
- Charlie Baker
- Adam Chlupacek
- Phileas Hocquard
- Tahmidul Islam
- Ben Temple
We have dedicated a whole document to setting up the application here
Disclaimer
: We assume you have followed the installation document
Command | Effect |
---|---|
make install |
Installs all ruby gems and node modules |
make env |
Creates application.yml and populates it with env variable placeholders. Be sure to add your own access keys and secrets |
make setup |
Ensure you have Postgresql installed and running locally. Migrates DB. |
make comp name=[INSERT NAME] |
Creates a React Component with the given name |
make start port=[PORTNUM] |
Port 3000 by default, starts local server on the given port |
make lint |
Check project for linting errors |
make test |
Run all tests, always run this and ensure tests all pass before pushing to github |
In order for the application to work as it should, you will need to put your own access keys into the application.yml
file found in the config
directory, generated by the make env
command.
You will need to provide you own keys for the following:
AWS_ACCESS_KEY_ID
for Amazon Web ServiceAWS_SECRET_ACCESS_KEY
for Amazon Web ServiceSENDGRID_ACCESS_KEY
for sending emails to users and tour participants via the Sendgrid API
To log into the CMS on a local server
- Email:
dev@mail.com
- Password:
password
- Note: This will not work in production!
- Conventions
- We are using Airbnb's style guides for both Ruby and Javascript
make lint
to check for offences
- Open pull request with name of feature
- Feature must have full set of passing tests and marked with
Ready for Review
tag when ready to be tested - Tests are written using the RSpec testing framework
- Other member of team to test feature and merged when functionality has been tested.
- Feature must have full set of passing tests and marked with
- Feature branch must be a passing build on CircleCi