Check out the wiki for the long-winded description of the project.
The Old Repo. I have recently moved over to a fork on my GitHub account to make it easier to manage Heroku.
- Installation
- Important
- Stack
- Git Workflow
- View the App
- Users And Logins
- Testing
- Local Development
- Map Styling
- Fork the repository
- Clone &
cd veery
npm install
- Install mongo. Instructions can be found here.
- Looking to deploy your work? Skip on down to Git Workflow
- React 16
- Express 4
- Webpack 4
- Do you work locally on its own branch.
- Push it up and open a PR with
staging
as the base branch. - Heroku will run CI (
npm run lint && npm run test
) on the PR and inform you on GitHub if it can be merged.- In the meantime, go to the Veery pipeline on Heroku. You'll see that by opening the PR, a deploy automatically happened. Once it is deployed, you can open the PR as its own [review] app and see if your changes worked!
- After everything looks good and CI gives you the okay, merge it into staging. Heroku will automatically deploy your work again.
- If everything looks good on staging, open a PR for
staging
withmaster
as the base branch. Let CI and the review apps do their thing. Once they're ready, QA the review app and ensure it's good. - Finally, merge in the PR and Heroku will automatically deploy your work.
- Staging - Where we QA things
- Production - Live app
- Staging: https://veery--staging.herokuapp.com/
- Production: https://veery--production.herokuapp.com/#/
- Staging: https://veery--staging.herokuapp.com/
- Production: veery.cool
admin@veery.cool
/password
To add an admin user, you'll need to go into /src/api/database/seeds/users
(in the server) and change the password field to your password. Then run npm run db:seed:admins
. Do not commit a password change to Git.
We have to use the seed feature because I have not been able to hash passwords from the Mongo console tool.
venueadmin-1@example.com
/password
...venueadmin-10@example.com
/password
npm run test
npm run server:test
npm run client:test
- Run
cp env.example .env
- In its own terminal, run
mongod
- In its own terminal, run
heroku local
- Run
npm run db:furnish
- In its own terminal, run
npm run client:start
- Visit
localhost:8080
Made easy with snazzy maps