A service to collect details from teachers and trainees applying for the International Relocation Payment.
A robots.txt file is located at public/robots.txt
and prevents all robots from
crawling the site. This is to prevent the site from being indexed by search engines
while we are doing pen-testing in production for 2 days.
We should remove the lines below before moving to production.
User-agent: *
Disallow: /
The required versions of build tools is defined in .tool-versions. These can be automatically installed with asdf-vm, see their installation instructions.
Once installed, run:
asdf plugin add ruby
asdf plugin add nodejs
asdf plugin add yarn
asdf plugin add bundler
asdf install
When the versions are updated on the main
branch run asdf install
again to update your
installation. Use asdf plugin update --all
to update plugins and get access to
newer versions of tools.
- Run
bundle install
to install the gem dependencies - Run
yarn
to install node dependencies - Run
bin/rails db:setup
to set up the database development and test schemas - Run
bundle exec rails server
to launch the app on http://localhost:3000 - Run
./bin/webpack-dev-server
in a separate shell for faster compilation of assets
Run the full test suite with:
bundle exec rake
See the docs/adr directory for a list of the Architectural Decision
Record (ADR). We use adr-tools to manage
our ADRs, see the link for how to install (hint: brew install adr-tools
or use
ASDF).
To create a new ADR, run:
adr new "Title of ADR"
This service does not offer any out of hours SLAs and there will be not on call shift.
Any incidents observed should follow the incident reporting guidance
TODO