-
Notifications
You must be signed in to change notification settings - Fork 1
Running OpenQuake
There are three services needed to run OpenQuake: Redis, RabbitMQ and Celery.
Skip this step if you are using Ubuntu. Otherwise open a new terminal, and type:
sudo redis-server
Skip this step if you are using Ubuntu. Otherwise open a new terminal, and type:
sudo rabbitmq-server
To start Celery, you must be inside your OpenQuake directory. Open a new terminal, and type:
cd /to/your/openquake/dir/ celeryd
You should see something like:
[...] [...] WARNING:celery:celery@YOUR_HOSTNAME has started.
In case you see [these errors](http://pastebin.ubuntu.com/566580/) when running celeryd as a non-root user please make sure the permissions for /dev/shm are set as follows:
sudo chmod 01777 /dev/shm/ ls -ld /dev/shm/ drwxrwxrwt 2 root root 40 2011-02-13 11:03 /dev/shm/
We can now run the test suite, with:
cd /to/your/openquake/dir/ python run_tests.py
Or a smoke test, with:
cd /to/your/openquake/dir/ python bin/openquake --config_file=smoketests/simplecase/config.gem --debug=debug
Further assistance you can get help through our mailing list or on irc.freenode.net (freenode network) at #openquake.
Please help us improve the process, if you have any suggestion that could improve this documentation contact us at [email protected]
Back to Wiki Home
Back to Installation