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 a4ec21a213
Merge pull request #28 from rhaamo/dependabot/pip/sqlalchemy-1.3.3
1 week ago
controllers Split focale in two; Improve camera and lens view 4 months ago
migrations Split focale in two; Improve camera and lens view 4 months ago
static Add autocompletion 4 months ago
templates haha 4 months ago
tmp Prout 4 months ago
uploads Prout 4 months ago
.drone.yml Fix cache usage 4 weeks ago
.gitignore Ugly first commit 4 months ago
.isort.cfg Ugly first commit 4 months ago
.python-version Add python-version pyenv thingy 4 months ago
Dockerfile Fix docker 4 months ago
LICENSE Prout 4 months ago
README.md Allow using custom config from env 4 months ago
TRANSLATION-NOTES.txt Prout 4 months ago
app.py Add an user all serials view 4 months ago
babel.cfg Ugly first commit 4 months ago
config.py.sample Comment about db 4 months ago
dbseed.py Prout 4 months ago
entrypoint.sh Fix docker 4 months ago
forms.py Split focale in two; Improve camera and lens view 4 months ago
messages.pot Prout 4 months ago
models.py Add focus mode 4 months ago
pyproject.toml Ugly first commit 4 months ago
requirements.txt Bump sqlalchemy from 1.3.2 to 1.3.3 1 week ago
setup.cfg Ugly first commit 4 months ago
setup.py Add thumbnailing support 4 months ago
utils.py PEP8 4 months ago
version.py Ugly first commit 4 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