styling readme
This commit is contained in:
parent
59014b5f9c
commit
e19663d4e6
1 changed files with 5 additions and 3 deletions
|
@ -6,7 +6,7 @@ Pure rust. Built with actix, diesel, tera, serde and sqlite3.
|
|||
|
||||
1. Clone the repository
|
||||
```bash
|
||||
git clone https://github.com/leonardlorenz/crablog
|
||||
git clone https://github.com/mtrx1337/crablog
|
||||
cd crablog/site
|
||||
```
|
||||
2. Install diesel and create a database
|
||||
|
@ -27,7 +27,7 @@ All configuration options are defined in crablog.env, an example configuration i
|
|||
When not using Docker you may have to add crablog.env to your startup script or define the variables there.
|
||||
|
||||
`crablog.env`
|
||||
```
|
||||
```bash
|
||||
USERNAME=yourusername
|
||||
EMAIL=me@mydomain.tld
|
||||
BIND_PORT=8000
|
||||
|
@ -55,4 +55,6 @@ ROOT_PATH=/path/to/template/directory/and/sqliteDB
|
|||
|
||||
**API Routes**
|
||||
|
||||
- /api/blog/posts returns all posts as json
|
||||
| Route | Description |
|
||||
| -------------- | ------------------------- |
|
||||
| api/blog/posts | returns all posts as json |
|
||||
|
|
Loading…
Reference in a new issue