There was an error while loading. Please reload this page.
As we use Docker, you cannot simply call a rake task in the normal way (i.e. rake schools:populate).
rake
rake schools:populate
Instead, you will need to prefix the rake command with docker-compose run web.
docker-compose run web
For example, if you wanted to call the schools:populate rake task in your local development environment, from the command line you would call:
docker-compose run web rake schools:populate
There are a number of common rake tasks and bin/rails commands that have been aliased in the Makefile.
bin/rails
For example, to migrate the database, instead of calling docker-compose run web rake db:migrate, you can call
docker-compose run web rake db:migrate
make db_migrate
You can find that alias, and many others, in the Makefile.