Mention unit tests in readme

This commit is contained in:
Jan Tuomi
2017-01-12 09:37:34 -05:00
parent 74aa802691
commit 6ae5e1af75
+7 -4
View File
@@ -46,8 +46,7 @@ Paste the following into the mysql client prompt:
CREATE USER 'sik'@'localhost' IDENTIFIED BY 'password123';
CREATE DATABASE sik DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON sik.* TO 'sik'@'localhost';
CREATE DATABASE sik_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON sik_test.* TO 'sik'@'localhost';
GRANT ALL PRIVILEGES ON `%_sik` . * TO 'sik'@'%';
```
### Install required python modules
@@ -91,6 +90,10 @@ Assuming we are on root of this repo and virtualenv is one step above:
or
`or./manage.py runserver 0.0.0.0:8000`
`./manage.py runserver 0.0.0.0:8000`
if you need to connect from anywhere else than localhost.
if you need to connect from anywhere else than localhost.
### Run unit tests
`./manage.py test -v 2`