mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
clean up router package
This commit is contained in:
parent
01589e3055
commit
65323a1597
24
README.md
24
README.md
@ -9,6 +9,30 @@ Development of __offen__ has just started, so instructions are rare and things w
|
|||||||
|
|
||||||
Guidelines for running and developing the Software will be added when it makes sense to do so. Feel free to open an issue if you have a question.
|
Guidelines for running and developing the Software will be added when it makes sense to do so. Feel free to open an issue if you have a question.
|
||||||
|
|
||||||
|
### Developing the application
|
||||||
|
|
||||||
|
#### `server`
|
||||||
|
|
||||||
|
To work on the `server` you will need to install `docker-compose` and Go 1.12+.
|
||||||
|
|
||||||
|
First, bootstrap the dockerized Postgres database used for development:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose run server go run cmd/bootstrap/main.go
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the server:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the tests:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose run server make
|
||||||
|
```
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
MIT © [Frederik Ring](https://www.frederikring.com), [Hendrik Niefeld](http://niefeld.com/)
|
MIT © [Frederik Ring](https://www.frederikring.com), [Hendrik Niefeld](http://niefeld.com/)
|
||||||
|
Loading…
Reference in New Issue
Block a user