Simplify project setup (#3)

* Simplify project setup

* Setup docker
* Add seed

* Feature/migrate links to router link (#2)

* Migrate links to RouterLink
* Add i18n

* Simplify project setup

* Setup docker
* Add seed
This commit is contained in:
Thomas
2021-04-16 21:06:45 +02:00
committed by GitHub
parent a8c65cf3c2
commit e5d7df3e7b
9 changed files with 66 additions and 127 deletions

View File

@@ -23,18 +23,19 @@
### Setup
1. Run `yarn install`
2. Run `yarn docker:dockerize`
3. Copy `.env.sample` to `docker/.env`
4. Run `cd docker/<version>`
5. Run `docker-compose build`
6. Run `docker-compose up -d`
2. Run `cd docker`
3. Run `docker compose build`
4. Run `docker compose up -d`
5. Run `yarn setup:database`
6. Start server and client (see _Development_)
7. Login as _Admin_ with the `Security Token`: `ae76872ae8f3419c6d6f64bf51888ecbcc703927a342d815fafe486acdb938da07d0cf44fca211a0be74a423238f535362d390a41e81e633a9ce668a6e31cdf9`
## Development
### Start server
- Serve: Run `yarn start:server`
- Debug: Run `yarn watch:server` and click "Launch Program" in _Visual Studio Code_
- Serve: Run `yarn start:server`
### Start client