mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 13:18:27 +00:00
chore: update readme with new make commands
This commit is contained in:
34
README.md
34
README.md
@@ -30,10 +30,10 @@ LetterFeed is a self-hosted application that converts email newsletters into RSS
|
|||||||
|
|
||||||
Edit the `.env` file with your specific settings.
|
Edit the `.env` file with your specific settings.
|
||||||
|
|
||||||
3. **Build and run the Docker containers:**
|
3. **Run the Docker containers:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose up --build
|
make docker-up
|
||||||
```
|
```
|
||||||
|
|
||||||
### Behind a Reverse Proxy
|
### Behind a Reverse Proxy
|
||||||
@@ -115,22 +115,28 @@ networks:
|
|||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Frontend (Next.js)
|
To run the application in development mode:
|
||||||
|
|
||||||
To run the frontend in development mode:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd frontend
|
make dev
|
||||||
npm install
|
# or to run the dev container
|
||||||
npm run dev
|
make docker-dev-up
|
||||||
```
|
```
|
||||||
|
|
||||||
### Backend (FastAPI)
|
To install dependencies:
|
||||||
|
|
||||||
To run the backend in development mode:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd backend
|
make install
|
||||||
uv sync --group test
|
```
|
||||||
uvicorn app.main:app --reload
|
|
||||||
|
To run tests:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
To lint the code:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make lint
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user