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