diff --git a/README b/README deleted file mode 100644 index b008bc7..0000000 --- a/README +++ /dev/null @@ -1,17 +0,0 @@ -Dependencies: - sudo apt-get install libmysqlclient-dev python-dev - -Setup environment: - tekstmelding$ virtualenv env - tekstmelding$ . env/bin/activate - (env)tekstmelding$ pip install -r requirements.txt - -Create a config file: - tekstmelding$ cp config.py.sample config.py - # Edit config.py with your favorite editor - -Create the database: - tekstmelding$ mysql -uUSER -p tekstmelding < create_db.sql - -Run the server: - (env)tekstmelding$ python tekstmelding.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..ef4ab07 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +## Dependencies + sudo apt install libmysqlclient-dev python-dev + +## Setup environment + $ python3 -m venv venv + $ . venv/bin/activate + (venv)$ pip install -r requirements.txt + +## Create a config file + $ cp config.py.sample config.py + # Edit config.py with your favorite editor + +## Create the database + $ mysql -uUSER -p tekstmelding < create_db.sql + +## Run the server + (env)$ python tekstmelding.py diff --git a/requirements.txt b/requirements.txt index 554f561..a7a298b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -Flask==0.10.1 -mysqlclient==1.3.7 +Flask>=0.12 +mysqlclient==1.3.10 suds-jurko==0.6