1.Apache2
2.mysql-server
3.python2.7
4.python-pip
5.python-mysqldb
6.django 1.7
For the installation of Requiremets, run the following commands in terminal:
-
Apache2
$ sudo apt-get install apache2
-
mysql-server
$ sudo apt-get install mysql-server
-
python2.7
$ sudo apt-get install python
-
python-pip
$ sudo apt-get install python-pip
-
python-mysqldb
$ sudo apt-get install python-mysqldb
-
Django 1.7
sudo pip install https://www.djangoproject.com/download/1.7.b4/tarball/
-
ReportLab
sudo aptitude install python-reportlab
Steps for Installation of Kirt
-
Fork the repositery kirt and clone the forked repositery
$ git clone 'link to your forked repository'
-
Log into you mysql account using the command:
$ mysql -u root -p
-
Create a new database for Kirt inside mysql shell: mysql> create database kirt; mysql> quit
-
Edit Kirt/kirt/settings.py file. Things to be edited are:
a) Database details: At Lines 69, 70, 80, fill your own details in following fields:
NAME : kirt USER : PASSWORD :
b) Set all the paths:
(i) Line 31: '/home/username/path-to.../Kirt/templates',
Modify this path to point your Kirt's template directory (Kirt/templates)
(ii) Line 95: '/home/username/path-to.../Kirt/static/'
Modify this path to point to Kirt's static directory (Kirt/static)
-
Goto the project directory.
$ cd kirt
-
To fix your settings so that these can't be tracked by git and you can pull all the updates without an issue, run the following command inside cloned directory:
$ git update-index --assume-unchanged kirt/settings.py
-
Now, run the following commands inside the directory Kirt only:
$ python manage.py migrate $ python manage.py runserver 127.0.0.1:8090
-
Open 'http://localhost:8090' in your browser and you'll be greeted by the Kirt login page.