Skip to content

spaun299/profireader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Logo


###Installation instruction:

  • 1.)Install required package libs:
    sudo apt-get install libpq-dev python-dev sudo apt-get install python3-venv python3-pip

>* 2:)Create new postgresql user 'pfuser':
sudo -u postgres createuser -D -A -P pfuser (here system asks a password for just created user. Password can be found in secret_data.py file as DB_PASSWORD constant) ALTER USER pfuser WITH PASSWORD ''
>* 3:)Modify /etc/hosts file:
you need to add ip of db host (db.prof) to file /etc/hosts If db is located on postgres.m server then its ip can be found with `ping postgres.m` command. If db is located on localhost then ip is 0.0.0.0 Though, running `sudo gedit /etc/hosts` add following line: ip db.prof where ip is a value derived on previous step. we also have to add lines 0.0.0.0 profireader.com to /etc/hosts
>* 4:)Create new db "profireader":
sudo -u postgres createdb -O pfuser profireader to recover db from dump: su postgres psql profireader < dump.sql exit
>* 5:)Install virtual environment and necessary packages:
pyvenv env && source env/bin/activate && pip3 install -r requirements.txt
>* 6:)To work with your local DB you should install VPN. see instructions:
[Click here for instructions](http://jira.ntaxa.com/browse/NTAXA-6)
>* 7:)Install file manager from bower package:
sudo apt-get install nodejs sudo apt-get install npm ln -s /usr/bin/nodejs /usr/bin/node npm install -g bower

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published