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