Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar authored Feb 25, 2024
1 parent 02d8ed3 commit 2820be5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The website uses the API of services [InNoHassle-Events](https://github.com/one-

When the API types change, run `npm run orval` to generate new client types and functions.

### Development server
### Run for development

1. Start development server: `npm run dev`
2. Open in the browser: http://localhost:3000
Expand All @@ -74,13 +74,13 @@ When the API types change, run `npm run orval` to generate new client types and
In order to use the API of the production server, you need to change the SameSite parameter of the `token` cookie in the browser (set `None`).
Then the browser will be able to use the correct token to access the API from the local site.

### Production server
### Run for production

1. Build the application: `npm run build`
2. Run the production-like server: `npm run start`
3. Open in the browser: http://localhost:3000

### Production deployment
### Deployment

We use Docker with Docker Compose plugin to run the website on servers.

Expand Down

0 comments on commit 2820be5

Please sign in to comment.