Update Makefile with new commands, fixes

- Fixes make clean
- Changes make to make ui
- Generates keys on make install
- Adds make run, make build
This commit is contained in:
Matt Baer
2018-11-08 12:45:59 -05:00
parent 2e52b8cf55
commit 6867ac07b4
2 changed files with 24 additions and 15 deletions

View File

@@ -76,16 +76,9 @@ Create your database, import the schema, and configure your site [as shown above
Now generate the CSS:
```bash
make install
make # Run this whenever you update your styles
```
Lastly, run the application (you could put this into a quick shell script called `run.sh`)
```bash
#!/bin/bash
go install ./... && writefreely --debug
make install # Generates encryption keys; installs LESS compiler
make ui # Generates CSS (run this whenever you update your styles)
make run # Runs the application
```
## License