Skip to content

mariusfa/BaglerPage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BaglerPage

Web app to keep track of housekeeping.

Requirements

  • First a credentials.txt is required in the project root. This should contain the necessary information for postgresql. The file should look like like:
 user:username
 db:databasName
 table:tableName
  • Postgresql:
$ sudo apt-get install postgreql
  • Python package for postgresql
$ sudo apt-get install python-psycopg2
  • Optional remove startup scripts for postgresql:
$ sudo update-rc.d -f postgresql remove
  • The database script is set to use a user with no password. Hence the database can only be accessed locally. The postgresql might require username to be the same as unix username.
  • baglerPage.py is the script with the flask part. To run on local network: $ python baglerPage.py.
  • To reset database table, run: $ python resetDb.py

About

Web page to to keep track of housekeeping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published