something something managing too many camera stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dashie der otter 5c29433906
Bump flask-migrate from 2.4.0 to 2.5.1 (#31)
4 months ago
controllers Split focale in two; Improve camera and lens view 10 months ago
migrations Split focale in two; Improve camera and lens view 10 months ago
static Add autocompletion 10 months ago
templates haha 10 months ago
tmp Prout 10 months ago
uploads Prout 10 months ago
.drone.yml Fix cache usage 6 months ago
.gitignore Ugly first commit 10 months ago
.isort.cfg Ugly first commit 10 months ago
.python-version Add python-version pyenv thingy 10 months ago
Dockerfile Fix docker 10 months ago
LICENSE Prout 10 months ago
README.md Allow using custom config from env 10 months ago
TRANSLATION-NOTES.txt Prout 10 months ago
app.py Add an user all serials view 10 months ago
babel.cfg Ugly first commit 10 months ago
config.py.sample Comment about db 10 months ago
dbseed.py Prout 10 months ago
entrypoint.sh Fix docker 10 months ago
forms.py Split focale in two; Improve camera and lens view 10 months ago
messages.pot Prout 10 months ago
models.py Add focus mode 10 months ago
pyproject.toml Ugly first commit 10 months ago
requirements.txt Bump flask-migrate from 2.4.0 to 2.5.1 (#31) 4 months ago
setup.cfg Ugly first commit 10 months ago
setup.py Add thumbnailing support 10 months ago
utils.py PEP8 10 months ago
version.py Ugly first commit 10 months ago

README.md

camgear

Build Status

Versions requirement

Installation

Install a BDD (mysql is supported, SQLite maybe, PostgreSQL should be)
Makes sure that encoding is/will be in UNICODE/UTF-8
git clone https://github.com/rhaamo/camgear
cd camgear
pip3 install --requirement requirements.txt
python3 setup.py install
cp config.py.sample config.py
$EDITOR config.py
export FLASK_ENV=<development or production>
$ create your postgresql database, like 'camgear'
flask db upgrade
flask seed
flask run

Creating an user

If you have enabled registration in config, the first user registered will be ADMIN !

Or if you have disabled registration, use the flask createuser command to create an user.

Production running

sudo easy_install3 virtualenv
sudo su - camgear
cd camgear

>> install -> git part

virtualenv -p /usr/bin/python3 venv
or if python 3.6 from github repo:
virtualenv -ppython3.6 venv

source venv/bin/activate
>> get back to install part

pip install waitress

Docker

Use the image dashie/camgear, currently available tags : latest, master

Use the docker env config:

  • INSTALL_SENTRY=True if you want to install and use Sentry
  • CUSTOM_CONFIG=/config/config.py Mandatory if you want to use it, and use your own config in that dir/mount bind

Licensing

  • MIT License