Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

LambdaGeo/opendata-ufma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://deparkes.co.uk/2018/03/02/simple-docker-flask-sqlite-api/

An example of a flask api running in a docker container.

Extends example of a Flask API from programminghistorian.org

Requirements

docker

Usage

Clone this repository

git clone https://github.com/deparkes/docker_flask_example.git

Run docker-compose

docker-compose up --build

Test localhost api in your browser by navigating to

http://localhost:5000/api/v1/resources/books/all

Heroku

  • docker build -f Dockerfile.myflask -t myflask . docker-compose up --build

  • heroku container:login

  • heroku container:push web --app testa-api-ufma

  • heroku container:release web --app testa-api-ufma

  • docker build -f Dockerfile.myflask -t myflask .

gerar usuaário

https://gist.github.com/profsergiocosta/2c4910762c54046497415ac78e030e52

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 69.9%
  • HTML 14.6%
  • CSS 14.0%
  • Other 1.5%