Robust online experiment runner, utilising the cloud to allow 1000s of concurrent participants.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project to amazon cloud.
What things you need to install the software and how to install them
Python 3.6
A step by step series of examples that tell you how to get a development env running
1. Download the project from github and extract contents (eg on windows, to C:\Users\your_user_name\XperimentCloudDemo).
2. virtualenv VENV
do this in the top directory, eg, C:\Users\your_user_name\XperimentCloudDemo, creating a virtualenvironment.
3. cd VENV. cd Scripts. activate.bat
activating virtual environment. Then return to the top directory.
4. pip install -r xperiment/requirements.txt
can take a few minutes.
5. AWS CONFIGURE
you will need you amazon cloud key and secret I strongly advise creating IAM credentials and not using your admin creds.
6. python manage.py shell -c "from django.core.management import utils; print(utils.get_random_secret_key())"
We are creating a salt which is used for randomisation in Django. Copy the long sequence
7. Rename xperiment/zappa_settings_DEMO.json to xperiment/zappa_settings.json.
8. Edit this file. for DJANGO_SECRET_KEY, use the long sequence you generated in step 6.
9. python manage.py migrate
10. python manage.py createsuperuser
11. python manage.py runserver
12. in your browser, navigate to http://127.0.0.1:8000/. With any luck, it is working.
Let's
until finished
End with an example of getting some data out of the system or using it for a little demo
Explain how to run the automated tests for this system
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Add additional notes about how to deploy this on a live system
- Dropwizard - The web framework used
- Maven - Dependency Management
- ROME - Used to generate RSS Feeds
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc