From 6ae5e1af75eeaff9a9ef5936d3842405cd02aa00 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 12 Jan 2017 09:37:34 -0500 Subject: [PATCH] Mention unit tests in readme --- readme.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 79368fc..45be8fa 100644 --- a/readme.md +++ b/readme.md @@ -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. \ No newline at end of file +if you need to connect from anywhere else than localhost. + +### Run unit tests + +`./manage.py test -v 2`