Skip to content

acestojcevski/bookstore-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore API

Local development

Make sure you have python (3) installed, then setup up a virtual environment:

$ python -m venv env

Activate the virtual environment:

$ . env/bin/activate

Install the dependencies with pip:

$ pip install -r requirements.txt

Run the app

You can run the app either via the wsgi.py as Flask app, or set the create_app config yourself.

With wsgi.py:

$ export APP_ENV=Dev
$ export FLASK_APP=wsgi.py
$ export FLASK_ENV=Development
$ flask run

or, directly:

$ export FLASK_APP='app:create_app("app.config.Dev")'
$ flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%