Skip to content

Commit 2d6db4a

Browse files
committed
testing readme
1 parent e761971 commit 2d6db4a

5 files changed

Lines changed: 9 additions & 34 deletions

File tree

README.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -84,33 +84,18 @@ To run tests locally:
8484
8585
https://support.google.com/mail/answer/185833?hl=en#zippy=
8686
87-
3. Install requirements:
88-
```
89-
cd backend
90-
pip install -r requirements.txt
91-
```
92-
93-
3. Run FastAPI to create database:
94-
95-
96-
```
97-
uvicorn app.main:app --reload
98-
```
99-
100-
101-
After seeing "test.db" in db/ press CTRL + C to close the server.
10287
103-
4. Run with Docker
88+
3. Run with Docker
10489
10590
```
10691
docker compose up --build
10792
```
10893
10994
11095
The app will be available at:
111-
- Frontend: http://localhost:5173
112-
- Backend API: http://localhost:8000
113-
- API Docs: http://localhost:8000/docs
96+
- Frontend: http://localhost:5173
97+
- Backend API: http://localhost:8000
98+
- API Docs: http://localhost:8000/docs
11499
115100
116101
## Project Structure

backend/celerybeat-schedule

0 Bytes
Binary file not shown.

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ services:
5858
- redis
5959

6060
frontend:
61-
image: node:20-alpine
61+
image: node:20-alpine # My imange
6262
container_name: react_frontend
6363
working_dir: /app
6464
ports:
6565
- "5173:5173"
6666
volumes:
6767
- ./frontend:/app
68-
- /app/node_modules # Docker użyje swoich paczek, nie Twoich z Windowsa/Maca
68+
- /app/node_modules # Docker uses its own packages
6969
env_file:
7070
- .env
71-
command: sh -c "npm install && npm run dev -- --host"
71+
command: sh -c "npm install && npm run dev -- --host" # Host makes server avaliable out of container
7272
depends_on:
73-
- backend
73+
- backend # Waits for backend to start

frontend/package-lock.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ h1 {
3737
}
3838

3939
button {
40+
color: #ffffff;
4041
border-radius: 8px;
4142
border: 1px solid transparent;
4243
padding: 0.6em 1.2em;

0 commit comments

Comments
 (0)