Debian Codegraph @

integration_test/README.md

raw
1 A sample project to test rqworker and site interaction
2
3 ## Prerequisites
4
5 Install PostgreSQL
6
7 sudo apt-get install postgresql
8
9 Create user and database
10
11 sudo -u postgres psql
12 # drop database djangorqdb;
13 # drop user djangorqusr;
14 # create user djangorqusr with createrole superuser password 'djangorqusr';
15 # create database djangorqdb owner djangorqusr;
16
17 Init database schema
18
19 ./manage.py migrate
20
21 Install required packages:
22
23 pip install -r requirements.txt
24
25 ## Test
26
27 To run tests:
28
29 python _test.py