Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ h11==0.12.0
idna==3.7
imagesize==1.3.0
itsdangerous==2.0.1
Jinja2==3.1.4
Jinja2==3.1.5
kiwisolver==1.3.2
locust==2.5.1
Mako==1.2.4
Expand All @@ -55,7 +55,7 @@ python-dateutil==2.8.2
python-dotenv==0.19.2
pytz==2021.3
pywin32==306; sys_platform=='win32'
pyzmq==22.3.0
pyzmq==26.2.0
requests==2.32.3
roundrobin==0.0.2
selenium==4.1.0
Expand Down
14 changes: 14 additions & 0 deletions run_web.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh -f

export PROJECT_ROOT=$( cd "$( dirname "$0" )" && pwd )
. $PROJECT_ROOT/venv/bin/activate
export PYTHONPATH=$PROJECT_ROOT/src
export NATURE_RECORDER_DB=$PROJECT_ROOT/data/naturerecorder.db
export FLASK_ENV=development

echo "Project root = $PROJECT_ROOT"
echo "Python Path = $PYTHONPATH"
echo "Database Path = $NATURE_RECORDER_DB"
echo "Flask Environment = $FLASK_ENV"

python -m naturerec_web
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def find_package_files(directory, remove_root):

setuptools.setup(
name="nature_recorder",
version="1.10.0",
version="1.11.0",
description="Wildlife sightings database",
packages=setuptools.find_packages("src"),
include_package_data=True,
Expand Down
Loading