Skip to content
Snippets Groups Projects
Verified Commit 6e5159b3 authored by Dominik's avatar Dominik :scream_cat:
Browse files

[feat] Update readme

parent 5e1e05e7
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,9 @@
## Information
- Project website (https://datepoll.org)
- API / backend documentation (https://datepoll.org/docs/DatePoll)
- [Project website](https://datepoll.org)
- [Screenshots](https://datepoll.org/docs/DatePoll/screenshots)
- [API / backend documentation](https://datepoll.org/docs/DatePoll)
- Other projects
- [DatePoll-Backend](https://gitlab.com/DatePoll/DatePoll/datepoll-backend-php)
- [DatePoll-Android](https://gitlab.com/DatePoll/DatePoll/datepoll-android)
......@@ -38,24 +39,28 @@ A more complete / more detailed development setup guide can be found [here](http
### Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Run `ng serve` for a dev server. Navigate to (http://localhost:4200/). The app will automatically reload if you change any of the source files.
#### Create dev build with service worker
### Service worker installation
Run following command to delete your build folder and build a new version with the service worker testing config:
```bash
rm -rf dist/DatePoll-Frontend && ng build --configuration=sw-testing
```
Serve dev build
If you want to serve the service worker file you have to install an additional http server:
```bash
npm install http-server-spa -g
```
Now serve the builded project:
```bash
http-server-spa dist/DatePoll-Frontend/ index.html 4200
```
### Build
Run `ng build --prod` in the `src`-folder to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
Run `ng build --configuration production` in the `src`-folder to build the project. The build artifacts will be stored in the `dist/` directory.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment