Skip to content

RenatoBaetaDev/Project-1-with-Flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read me - Running the Application (NOT IN WINDOWS)

In order to run this application , you must have python3 installed.

  • First, you need to run python3 -m venv name-of-virtual-enviroment .

  • Then, you need to activate the virtual enviroment using: source name-of-virtual-enviroment/bin/activate .

  • Once the virtual enviroment is on, we need to install all the dependencies: pip install -r requirements.txt .

  • Then: export FLASK_APP=main.py

  • To run the application: flask run . Then go to your favorite browser and go to localhost:5000 .

  • To deactivate the venv, you can use deactivate .