diff --git a/README.md b/README.md index e8485ce..df312d1 100644 --- a/README.md +++ b/README.md @@ -1 +1,23 @@ # Webapp Template + +Template designed to quickly build full stack apps. + +## Technologies + +- Containerization: Docker/Docker Compose + +- Frontend: React + +- Backend: FastAPI + +## Deployment + +Uses `make` to quickly dispatch `docker-compose` commands. + +- `build`: builds the container using `docker-compose build ` + +- `up`: ups the container using `docker-compose up` + +- `deps`: rebuilds the frontend to deploy statically using the api + +Ex: `make deps build up` diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 3753ae0..cea7781 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,7 +1,5 @@ version: "3" services: frontend: - # command: ["npm", "run", "start"] volumes: - - .:/project/app/ - - ./api:/project/api + - "$PWD/build:/project/api/build"