mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove all material related to Zeus
This commit is contained in:
@@ -78,8 +78,6 @@ Note: If your OS is not explicitly supported in the setup guides then not all te
|
||||
|
||||
Note: The time zone on your machine should match the one defined in `config/application.yml`.
|
||||
|
||||
The project is configured to use [Zeus][zeus] to reduce the pre-test startup time while Rails loads. See the [Zeus GitHub page][zeus] for usage instructions.
|
||||
|
||||
Once [npm dependencies are installed][karma], AngularJS tests can be run with:
|
||||
|
||||
./script/karma run
|
||||
@@ -119,7 +117,6 @@ If these commands succeed, you should be able to [continue the setup process](#g
|
||||
[ubuntu]: https://github.com/openfoodfoundation/openfoodnetwork/wiki/Development-Environment-Setup:-Ubuntu
|
||||
[debian]: https://github.com/openfoodfoundation/openfoodnetwork/wiki/Development-Environment-Setup:-Debian
|
||||
[wiki]: https://github.com/openfoodfoundation/openfoodnetwork/wiki
|
||||
[zeus]: https://github.com/burke/zeus
|
||||
[rubocop]: https://rubocop.readthedocs.io/en/latest/
|
||||
[karma]: https://github.com/openfoodfoundation/openfoodnetwork/wiki/Karma
|
||||
[slack-dev]: https://openfoodnetwork.slack.com/messages/C2GQ45KNU
|
||||
|
||||
@@ -25,11 +25,7 @@ Usage: $0 openfoodnetwork@openfoodnetwork.org.au" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if hash zeus 2>/dev/null && [ -e .zeus.sock ]; then
|
||||
RAILS_RUN='zeus r'
|
||||
else
|
||||
RAILS_RUN='bundle exec rails runner'
|
||||
fi
|
||||
RAILS_RUN='bundle exec rails runner'
|
||||
|
||||
# -- Mirror database
|
||||
echo "Mirroring database..."
|
||||
|
||||
21
zeus.json
21
zeus.json
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"command": "ruby -rubygems -rzeus/rails -eZeus.go",
|
||||
|
||||
"plan": {
|
||||
"boot": {
|
||||
"default_bundle": {
|
||||
"development_environment": {
|
||||
"prerake": {"rake": []},
|
||||
"runner": ["r"],
|
||||
"console": ["c"],
|
||||
"server": ["s"],
|
||||
"generate": ["g"],
|
||||
"dbconsole": []
|
||||
},
|
||||
"test_environment": {
|
||||
"test_helper": {"test": ["rspec", "testrb"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user