RESTful API on top of subunit2sql.
- Python 2.7
- Pip
- Virtualenv
- MySQL (client)
Optional:
- This project expects subunit2sql schema
- You can use mysql-box:
-
Get a dump from a subunit2sql database
-
Clone the repo
$ git clone git@github.com:Juraci/mysql-box.git
-
Follow its README
-
$ git clone git@github.com:dhiana/pyxis-api-django.git
-
Provision the vagrant box
$ vagrant up
-
Go to [http://192.168.33.43:5000/runs/]
-
Create virtualenv
-
Activate virtualenv
-
Install requirements
$ pip install -r requirements.txt
-
Run server!
$ cd pyxis_api $ python manage.py runserver 5000
-
Go to [http://localhost:5000/runs]
- Follow README at [https://github.com/dhiana/pyxis-app]
$ vagrant up
$ rake spec
$ cd pyxis_api
$ python manage.py test