A CMS written in ReactJS, Ruby on Rails and Terraform used for learning. It was not created with the intention of being a production system. Instead this was my practice project over the years, used for testing new ideas.
./bin/setup
to set up the system./bin/test
to run all tests./bin/test spec/models/user_spec.rb
to run one test or folder./bin/quality
to run code quality checks./bin/dev
to start services- http://localhost:3000/ to access the site
- http://localhost:3000/graphiql to view GraphQL api
Deployment is managed via GitHub actions with the following manual steps:
heroku pg:backups:schedule --at '02:00 UTC'
- Open Rollbar from Heroku app
- Go to Settings
- In general select a timezone
- In source control enable Github
- In project access tokens copy post_client_item token and run the following:
heroku config:set ROLLBAR_CLIENT_TOKEN=xxx
- Open Heroku Scheduler from Heroku app
- Add new job
- Set command to
./bin/rails runner 'DailyJob.perform_now'
- Set frequency to daily
- Open Scout from Heroku app
- Go to alerts and set conditions, groups and channels
- Go to app settings and set up Github integration