Result aggregation server is a flask api and server that will be used to store the results returned by installation test scripts. Currently the results are not being stored and thus no useful information is being extracted out of it.
You can view the most faulty packages at http://installation.software-carpentry.org/view/.
Instructions for developers
- Clone this repository
git clone email@example.com:prerit2010/Result-aggregation-server.git
Project is built on python3
Create a Virtual environment
cd Result-aggregation-server virtualenv -p python3 env
- Activate Virtual Environment
- Install dependencies
pip install -r requirements.txt`
- One other dependency is Redis, which is used for throttling:
sudo apt-get install redis-server
- Perform flask migrations
Run the following command just once to initiate the migrations.
python manage.py db init
Everytime there are some schematic changes in the database, run the following 2 commands :
python manage.py db migrate python manage.py db upgrade
- If you want to add a sample database for testing :
python manage.py import_db
- Test the API:
- Run :