Skip to content

Intake assesment for Spark! Software Engineering Practicum

License

Notifications You must be signed in to change notification settings

BU-Spark/spark-se-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask JWT Auth

Quick Start

Basics

  1. Activate a virtualenv
  2. Install the requirements

Set Environment Variables

Update project/server/config.py, and then run:

$ export FLASK_APP=project.server
$ export APP_SETTINGS="project.server.config.DevelopmentConfig"

or

$ export FLASK_APP=project.server
$ export APP_SETTINGS="project.server.config.ProductionConfig"

Create the tables and run the migrations:

$ flask db init
$ flask db migrate
$ flask db upgrade

Run the Application

$ flask run

So access the application at the address http://localhost:5000/

Want to specify a different port?

$ flask run --host=0.0.0.0 --port=5000

About

Intake assesment for Spark! Software Engineering Practicum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published