Skip to content

CodeConfidant/flask-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-auth

Preview

Preparing Virtual Environment

Virtual environments allow one to easily manage Python packages.

To create virtual environments use the following command: 
pip install virtualenv

Then while in the flask-auth working directory use the following command: 
virtualenv [Environment Name]

The environment name can be whatever you want it to be.

Activating/Deactivating Virtual Environment

Activating/Deactivating your virtual environment varies depending on OS.

Windows Activation/Deactivation:
[Environment Name]\Scripts\activate
[Environment Name]\Scripts\deactivate

Linux Activation/Deactivation: 
source [Environment Name]/bin/activate
source [Environment Name]/bin/deactivate

Final Project Preparation

With the virtual environment activated run the following command:
pip install -r requirements.txt

After that all you need to do is use the following command:
flask run

This spins up your application on localhost:5000 by default.

Credits

I want to thank Miguel Grinberg for his amazing Flask tutorial. It's much more in depth and can be found here: Miguel's Flask Tutorial

About

A simple boilerplate using flask and SQLite

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy