Deno re-write
This commit is contained in:
29
README.md
29
README.md
@ -1,21 +1,16 @@
|
||||
# atri.dad
|
||||
This is my personal website!
|
||||
# Fresh project
|
||||
|
||||
## Stack:
|
||||
- Backend: Golang + Echo
|
||||
- Rendering: Golang templates
|
||||
- Style: TailwindCSS + DaisyUI
|
||||
- Content format: Markdown
|
||||
Your new Fresh project is ready to go. You can follow the Fresh "Getting
|
||||
Started" guide here: https://fresh.deno.dev/docs/getting-started
|
||||
|
||||
## Requirements:
|
||||
- Golang 1.23.1
|
||||
### Usage
|
||||
|
||||
## Getting Started
|
||||
1. Clone this repository
|
||||
2. Copy `.env.example` to `.env`
|
||||
3. Run `go mod download`
|
||||
4. Start the server: `go run main.go`
|
||||
Make sure to install Deno: https://deno.land/manual/getting_started/installation
|
||||
|
||||
## API Documentation
|
||||
1. Install swag by running ```go install github.com/swaggo/swag/cmd/swag@latest```
|
||||
2. Visit `/api/swagger/index.html` after starting the server
|
||||
Then start the project:
|
||||
|
||||
```
|
||||
deno task start
|
||||
```
|
||||
|
||||
This will watch the project directory and restart as necessary.
|
||||
|
Reference in New Issue
Block a user