1.Apache2
2.mysql-server
3.python2.7
4.python-pip
5.python-mysqldb
6.django 1.7
Installation of Requiremets
- Apache2
Run following command in terminal to install
$ sudo apt-get install apache2
- mysql-server
Run following commands in terminal
$ sudo apt-get install mysql-server
- python2.7
Run following commands in terminal
$ sudo apt-get install python
- python-pip
Run following commands in terminal
$ sudo apt-get install python-pip
- python-mysqldb
Run following commands in terminal
$ sudo apt-get install python-mysqldb
- Python modules
Run following commands in terminal
$ sudo pip install -r requirements.txt
- Exim4
Run following commands in terminal
$ sudo apt-get install exim4
and configure it using this
Steps for Installation of LibreHatti.
-
Fork the repositery LibreHatti and clone the forked repositery
$ git clone 'link to your forked repository'
-
Create a database for LibreHatti.
$ mysql -u root -p $ create database librehatti; $ quit
-
Edit settings.py file in LibreHatti/src/librehatti directory. Things to be edited are:
Line No 10 : DATABASES
NAME : librehatti
USER : Your MySQL username
PASSWORD : Your MySQl password
Line No 43 : STATICFILES_DIRS
-
Edit config.py accordingly
-
Goto the project directory and run the following commands.
$ cd src $ python manage.py syncdb $ python manage.py runserver 127.0.0.1:8090
-
Open 'localhost:8090' in your browser.