Skip to content
master
Switch branches/tags
Code
This branch is 12 commits behind GreatDevelopers/LibreHatti:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LibreHatti

REQUIREMENTS

1.Apache2
2.mysql-server
3.python2.7
4.python-pip
5.python-mysqldb
6.django 1.7

Installation of LibreHatti

cd path/to/LibreHatti/
./install.sh

OR

Installation of Requirements

  1. Apache2

Run following command in terminal to install

 $ sudo apt-get install apache2
  1. mysql-server

Run following command in terminal

$ sudo apt-get install mysql-server
  1. python2.7

Run following command in terminal

$ sudo apt-get install python
  1. python-pip

Run following command in terminal

$ sudo apt-get install python-pip
  1. python-mysqldb

Run following command in terminal

$ sudo apt-get install python-mysqldb
  1. Python modules

Run following command in terminal

$ sudo pip install -r requirements.txt
  1. Exim4

Run following command in terminal

$ sudo apt-get install exim4

and configure it using this

Steps for Installation of LibreHatti:

  1. Fork the repository LibreHatti and clone the forked repository

    $ git clone 'link to your forked repository'

  2. Create a database for LibreHatti.

    $ mysql -u root -p $ create database librehatti; $ quit

  3. 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

  1. Edit config.py accordingly.

  2. Goto the project directory and run the following commands.

    $ cd src $ python manage.py syncdb $ python manage.py runserver 127.0.0.1:8090

  3. Open 'localhost:8090' in your browser.