Skip to content

duxfrederic/home-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home-organizer

A small flask-bootstrap app to help with holding an inventory.

Deployment

Start by creating an environment to run this and installing the dependencies:

$ git clone git@github.com:duxfrederic/home-organizer.git
$ cd home-organizer
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Then, you might want to modify app/models.py to include your own "buildings" and "stories". Finally, initialize the database:

$ flask db init
$ flask db migrate -m "creation of the database"
$ flask db upgrade

One more thing, create the directories that will contain the pictures:

$ mkdir -p app/static/locations_pictures app/static/items_pictures

You can now run the development version with flask run. For production, use e.g. gunicorn:

$ pip install gunicorn
$ gunicorn -b 0.0.0.0:5000 -w 2 app:app

This can be easily made to start automatically with e.g. systemctl. A reverse proxy will be useful if you want the app to be accessible on a certain site on the usual http or https ports. (Or you can simply run gunicorn on port 80.)

Backup

You only need to backup app.db, app/static/locations_pictures and app/static/items_pictures.

About

a web app to keep track of where stuff is in your home. I run it on a Raspberry Pi and use a smartphone to add the important things as I accumulate them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published