Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

ravenolf/soramitsu-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App

The app is a small flask app with one function in path /. Deployed on Docker python:3.7-alpine.

Url: https://github.com/ravenolf/soramitsu-test.git

Can be started locally:

# Dependancies
sudo apt install python3 python3-pip virtualenv -y

# Run
git clone https://github.com/ravenolf/soramitsu-test.git
cd soramitsu-test
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
FLASK_APP=app.py flask run

The server should be started on http://localhost:5000

To build the docker image:

git clone https://github.com/ravenolf/soramitsu-test.git
cd soramitsu-test
docker build -t webapp .

To start the docker image:

docker run --rm -p5000:5000 webapp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published