A simple web-application written using Python Flask for educational purposes.
-
Clone repo
git clone https://github.com/GeoCHiP/game-of-life.git
-
Create virtual environment
cd game-of-life/ python -m venv .venv
-
Activate virtual environment
-
Linux
source .venv/bin/activate
-
Windows
-
Powershell
.\.venv\Scripts\Activate.ps1
-
Command Prompt
.\.venv\Scripts\activate.bat
-
-
-
Install the requirements
pip install -r requirements.txt
-
Set environmental variable
FLASK_APP
toapp.py
-
Linux
export FLASK_APP=app.py
-
Windows
-
Powershell
$env:FLASK_APP="app.py"
-
Command Prompt
set FLASK_APP=app.py
-
-
-
Run the server
flask run