diff --git a/README.md b/README.md index d522e30..fd6d59e 100644 --- a/README.md +++ b/README.md @@ -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 |