Skip to content

rileyduke/flask.flash_card_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Instructions

From the project base folder, the docker applications can be launched with docker-compose up.

Backend

To get the backend running you will need to install the required dependencies, and then init the database using flask.

Install Dependencies

Pip will install all required packages with pip install -r requirements/dev.txt.

Initialize Database

The following commands will create and initialize your database.

flask db init
flask db migrate
flask db upgrade

Running

To launch the flask environment, run flask run --host=0.0.0.0 from the /home/backend folder.

Smoke Test

Smoke test your flask environment with curl -X get http://localhost:5000/api/audioclips/all

Frontend

To launch the node environment within the frontend container, run npm start from the /home/frontend folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published