update http port
This commit is contained in:
parent
cd2631787a
commit
6758f94285
2
Makefile
2
Makefile
@ -9,4 +9,4 @@ lint:
|
||||
golangci-lint run --fix
|
||||
|
||||
run: lint build
|
||||
docker compose up
|
||||
docker compose up --build
|
||||
@ -5,16 +5,10 @@ Its uses an **sqlite3** database to register resources.
|
||||
|
||||
**NOTE**: The UI is dramatically ugly with almost no CSS and no responsiveness with small screens. There's no vocation to build a beautiful UI here, just to demonstrate how easy we can build practicable UI with server side rendering using Go std lib. Ideal for back office.
|
||||
|
||||
## Build
|
||||
Build the binary `builds/librapi`:
|
||||
```bash
|
||||
make build
|
||||
```
|
||||
|
||||
## Run
|
||||
```bash
|
||||
make run
|
||||
```
|
||||
You can then access the server through `http://localhost:8585`.
|
||||
You can then access the server through `http://localhost:8080`.
|
||||
|
||||
Enjoy !
|
||||
@ -1,6 +1,8 @@
|
||||
services:
|
||||
librapi:
|
||||
image: librapi:local
|
||||
build:
|
||||
context: .
|
||||
container_name: librapi
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user