Skip to content

Commit

Permalink
changes compose naming
Browse files Browse the repository at this point in the history
refactors repositories

standardizes controller exception handling

refactors application routes

fixes repositories connection close timing

updates postman collection

updates README

fixes pylint errors

fixes pylint errors

apply black style to modules

Update pylint.yml

Update pylint.yml

Update pylint.yml

disable warnings
  • Loading branch information
GabrielBarberini committed Dec 28, 2023
1 parent 3630483 commit 83b0e4e
Show file tree
Hide file tree
Showing 29 changed files with 4,258 additions and 2,089 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint -d C0200,C0301,C0114,R0903,C0115,W0246,R0914,C0209,E1121,C0103,C2801,R0801,E1101,R0911,C0116 $(git ls-files '*.py')
pylint -d C0200,C0301,C0114,R0903,C0115,W0246,R0914,C0209,E1121,C0103,C2801,R0801,E1101,E0401,E0611,R0911,C0116,W0212,W0719,W0601,W1203,W0123 $(git ls-files '*.py')
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
- Stores simulation input data in mongo-db

## Docker
- touch .env
- docker-compose up --build -d
- set MONGODB_CONNECTION_STRING: `touch .env && echo MONGODB_CONNECTION_STRING="$ConnectionString" > .env`
- run docker compose: `docker-compose up --build -d`

## Setup
- [Install python3](https://www.python.org/downloads/) 3.11.5 or above
Expand Down Expand Up @@ -34,19 +34,25 @@
│   │   ├── motor.py
│   │   └── rocket.py
│   │  
│   ├── models
│   │   ├── aerosurfaces.py
│   ├── routes
│   │   ├── environment.py
│   │   ├── flight.py
│   │   ├── motor.py
│   │   ├── parachute.py
│   │   └── rocket.py
│   │  
│   ├── repositories
│   │   ├── repo.py
│   │   ├── environment.py
│   │   ├── flight.py
│   │   ├── motor.py
│   │   ├── repo.py
│   │   └── rocket.py
│   │  
│   ├── models
│   │   ├── aerosurfaces.py
│   │   ├── environment.py
│   │   ├── flight.py
│   │   ├── motor.py
│   │   ├── parachute.py
│   │   └── rocket.py
│   │  
│   └── views
Expand Down
5 changes: 3 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
version: '1'
version: '2'

services:
fastapi-app:
api:
build:
context: .
dockerfile: Dockerfile
image: infinity-api:latest
container_name: infinity-api
ports:
- "3000:3000"
env_file:
Expand Down
Loading

0 comments on commit 83b0e4e

Please sign in to comment.