Table of Contents
This section covers documentation about how to work on the WebLab-Deusto development. If you want to develop a remote laboratory instead of working in the middle layers, go to the Remote laboratory development section.
This section assumes that you have successfully used the steps refered in the Installation: further steps section.
When developing the server side, it is best to create a new environment on which WebLab-Deusto is not deployed. To do so, create a new virtualenv as explained in Installation, and install all the requirements, but do not run the
python setup.py install command.
So as to deploy the testing database (required to pass the tests), you need to run the following in the
python develop.py --deploy-test-db --db-engine=mysql --db-create-db --db-ask-admin-passwd
Once you do this, you will be able to launch the server side tests, by running:
If you are developing and you think you want to do some static analysis of your code, run the following:
python develop.py --flakes
develop.py script comes with many more options. Run the following to see them:
python develop.py --help