|
1 month ago | |
---|---|---|
controllers | 1 year ago | |
migrations | 1 year ago | |
static | 1 year ago | |
templates | 1 year ago | |
tmp | 1 year ago | |
uploads | 1 year ago | |
.drone.yml | 8 months ago | |
.gitignore | 1 year ago | |
.isort.cfg | 1 year ago | |
.python-version | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
TRANSLATION-NOTES.txt | 1 year ago | |
app.py | 1 year ago | |
babel.cfg | 1 year ago | |
config.py.sample | 1 year ago | |
dbseed.py | 1 year ago | |
entrypoint.sh | 1 year ago | |
forms.py | 1 year ago | |
messages.pot | 1 year ago | |
models.py | 1 year ago | |
pyproject.toml | 1 year ago | |
requirements.txt | 1 month ago | |
setup.cfg | 1 year ago | |
setup.py | 1 year ago | |
utils.py | 1 year ago | |
version.py | 1 year ago |
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
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.
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
Use the image dashie/camgear
, currently available tags : latest, master
Use the docker env config: