# Install Dependencies
pip install -r requirements/dev.txt
# Deploy
flask deploy
# Run
export FLASK_APP="app.py"
export FLASK_ENV=development
flask run
# Start Elasticsearch
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.10.0
docker build -t restaurant-service:latest .
docker run -p 5000:5000 restaurant-service
Inside restaurant-service run (it will automatically use the configuration in pyproject.toml):
pytest