styling readme

This commit is contained in:
Leonard Lorenz 2021-04-03 23:41:04 +02:00
parent 59014b5f9c
commit e19663d4e6

View file

@ -6,7 +6,7 @@ Pure rust. Built with actix, diesel, tera, serde and sqlite3.
1. Clone the repository 1. Clone the repository
```bash ```bash
git clone https://github.com/leonardlorenz/crablog git clone https://github.com/mtrx1337/crablog
cd crablog/site cd crablog/site
``` ```
2. Install diesel and create a database 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. When not using Docker you may have to add crablog.env to your startup script or define the variables there.
`crablog.env` `crablog.env`
``` ```bash
USERNAME=yourusername USERNAME=yourusername
EMAIL=me@mydomain.tld EMAIL=me@mydomain.tld
BIND_PORT=8000 BIND_PORT=8000
@ -55,4 +55,6 @@ ROOT_PATH=/path/to/template/directory/and/sqliteDB
**API Routes** **API Routes**
- /api/blog/posts returns all posts as json | Route | Description |
| -------------- | ------------------------- |
| api/blog/posts | returns all posts as json |