Update README.md

This commit is contained in:
dhax 2020-04-03 19:57:19 +02:00 committed by GitHub
parent a94b83c1b1
commit 5faa62f412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ The following feature set is a minimal selection of typical Web API requirements
## Start Application ## Start Application
- Clone this repository - Clone this repository
- Create a postgres database and set environment variable *DATABASE_URL* accordingly if not using same as default - Create a postgres database and set environment variables for your database accordingly if not using same as default
- Run the application to see available commands: ```go run main.go``` - Run the application to see available commands: ```go run main.go```
- First initialize the database running all migrations found in ./database/migrate at once with command *migrate*: ```go run main.go migrate``` - First initialize the database running all migrations found in ./database/migrate at once with command *migrate*: ```go run main.go migrate```
- Run the application with command *serve*: ```go run main.go serve``` - Run the application with command *serve*: ```go run main.go serve```