From 5fd519cea0cad45182a2589e66fc35d7aeb0a59c Mon Sep 17 00:00:00 2001 From: manu chatterjee Date: Tue, 22 Mar 2022 20:45:34 -0700 Subject: [PATCH] updated readme to include virtual env --- project/templates/_base.html | 5 ++--- readme.md | 13 +++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/project/templates/_base.html b/project/templates/_base.html index 12aca48..fc9acea 100644 --- a/project/templates/_base.html +++ b/project/templates/_base.html @@ -15,11 +15,10 @@ {% include "navigation.html" %} +
- -
- + {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} diff --git a/readme.md b/readme.md index e91a3eb..1975ac9 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,19 @@ Starter app for managing users - login/logout and registration. ## QuickStart +Use a python virtual environment: + +```sh +python3 -m venv env +source env/bin/activate +pip3 install -r requirements.txt +``` + +Note: to deactivate (leave the virtual env) type this cmd: +```sh +deactivate +``` + ### Set Environment Variables ```sh