- Run
bundle install
to install the gem dependencies - Run
yarn
to install node dependencies - Run
az login
and thenmake local set-local-env
to populate development secrets - Run
bundle exec rails server
to launch the app on http://localhost:3000 - Run
./bin/webpacker-dev-server
in a separate shell for faster compilation of assets
Content for this website is stored in a seperate repo and is added in by the CI/CD pipeline. You will need to do this manually to have the content available on your local development environment.
- Clone the following repo: https://github.com/DFE-Digital/get-into-teaching-content
- Copy the
content
folder from this repo and merge it intoapp/views/content
Alternatively, create a symlink
from apps/views/content
to the location of your content directory by changing
to your app/views
directory and running ln -s content /the/path/to/your/content/directory
.