Skip to content

bananana/solid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solid

This app is still under heavy development. Name subject to change.

Setup

First, clone the repo and install submodules

git clone https://github.com/bananana/solid
cd solid
git submodule update --init

Then create and start a python virtual environment, install requirements and create a database

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
./db.py --create

Running

./run.py

By default the app will run on localhost:5000. You can modify that in config.py. If you want to run the app in a virtual machine, you'll want to set HOST to 0.0.0.0

Database

Using sqlite for now, to make development easier. If you modify models, you'll need to migrate the database:

./db.py --migrate

Utilities

run.py

Runs the app using the Werkzeug server.

db.py

Manipulates the database using SQLAlchemy. Run ./db.py --help for full documentation.

TODO

  • Combine run.py and db.py in one utility so everything is neater.
  • Finish models
  • Setup unit testing (per modlue or app-wide?)
  • Documentation and proper comments
  • So much more...

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors