ohs-test is the practice / quiz / test server for openhome.school grammar.
$ python3 -m venv ve
$ . ve/bin/activate
$ pip install --upgrade pip
$ git clone https://github.com/openhomeschool/ohs-test.git
$ cd ohs-test/
$ pip install -r requirements.txt
Create the database:
$ cat ohs-test.sql | sqlite3 ohs-test.db
And run your app:
$ python -m aiohttp.web -H localhost -P 8080 app.main:init
(Or, with aiohttp-devtools):
$ adev runserver --livereload app
The adev server will run on port 8000 by default. Other adev options may be desirable, and additions like aiohttp-debugtoolbar might be useful.
This project is licensed under the terms of the MIT license.