Skip to content
Snippets Groups Projects
Commit 3232f7d5 authored by Jan Prachař's avatar Jan Prachař
Browse files

Google App Engine things

parent ecadfb96
No related branches found
No related tags found
No related merge requests found
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
#!include:.gitignore
!/mo/config.py
# Python pycache:
__pycache__/
# Ignored by the build system
/setup.cfg
/bin
/db
/doc
/etc
/cloud_sql_proxy
......@@ -5,7 +5,7 @@
python3 -m venv venv
. venv/bin/activate
pip install wheel
pip install -c constraints.txt --editable .
pip install -c requirements.txt --editable .
# vytvořit mo/config.py podle etc/config.py.example
mkdir -p data/imports
......@@ -72,4 +72,4 @@
## Mražení závislostí
pip freeze | grep -v '^osmo=' >constraints.txt
pip freeze | grep -v '^osmo=' >requirements.txt
runtime: python39
entrypoint: gunicorn -b :$PORT -w 1 mo.web:app
......@@ -26,7 +26,7 @@ echo "Zakládám adresáře"
mkdir -p $DEST/{log,var,data/{errors,imports,jobs,statements,submits,tmp}}
echo "Instaluji balíček"
pip install -c constraints.txt .
pip install -c requirements.txt .
for d in $DEST/venv/lib/python*/site-packages/mo ; do
if [ ! -f $d/config.py ] ; then
......
......@@ -9,6 +9,7 @@ Flask==1.1.2
Flask-Bootstrap==3.3.7.1
Flask-SQLAlchemy==2.4.4
Flask-WTF==0.14.3
gunicorn==20.0.4
itsdangerous==1.1.0
Jinja2==2.11.2
lxml==4.6.2
......@@ -16,7 +17,6 @@ markdown==3.3.4
MarkupSafe==1.1.1
pikepdf==2.3.0
Pillow==8.1.0
pkg-resources==0.0.0
psycopg2==2.8.6
pycparser==2.20
python-dateutil==2.8.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment