Skip to content

cubisttriangle/BotaniCam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run...

  1. Install required dependencies:

    sudo apt install python3 python3-pip python3-virtualenv

  2. Clone this project:

    git clone [email protected]:cubisttriangle/BotaniCam.git

  3. Enter project directory:

    cd BotaniCam

  4. If you haven't already, create a virtual environment:

    mkdir ./venv

    virtualenv ./venv

  5. Activate the virtual environment:

    source ./venv/bin/activate

  6. Install required packages:

    pip install -r ./requirements.txt

  7. Run the app locally:

    FLASK_APP=webapp python -m flask run

  8. When you're done, stop the flask process. Then deactivate the virtual environment with:

    deactivate

Customization and configuration...

To override the settings in config.py. Create a folder in the top-level project directory called instance and add your custom config.py there.

  1. Create instance directory. This shouldn't be added to version control.

    mkdir instance

  2. Copy the config.py from the root directory to your instance folder and override whatever variables you like.

    cp ./config.py ./instance/config.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published