From 7a07e1009b687a2448de1050c8957f0bc9fdf640 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Tue, 16 Apr 2019 11:27:27 -0400 Subject: [PATCH] Include -config and -init-db steps in make install This also moves development instructions to documentation repo. --- Makefile | 2 ++ README.md | 21 +-------------------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index a3a7d3d..0aba10b 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,9 @@ deps-no-sqlite: $(GOGET) -d -v ./... install : build + cmd/writefreely/$(BINARY_NAME) --config cmd/writefreely/$(BINARY_NAME) --gen-keys + cmd/writefreely/$(BINARY_NAME) --init-db cd less/; $(MAKE) install $(MFLAGS) release : clean ui assets diff --git a/README.md b/README.md index 8ba94ab..f005bd4 100644 --- a/README.md +++ b/README.md @@ -97,26 +97,7 @@ WriteFreely is available in these package repositories: ## Development -Ready to hack on your site? Here's a quick overview. - -### Prerequisites - -* [Go 1.10+](https://golang.org/dl/) -* [Node.js](https://nodejs.org/en/download/) - -### Setting up - -```bash -go get -d github.com/writeas/writefreely/cmd/writefreely -``` - -Configure your site, create your database, and import the schema [as shown above](#quick-start). Then generate the remaining files you'll need: - -```bash -make install # Generates encryption keys; installs LESS compiler -make ui # Generates CSS (run this whenever you update your styles) -make run # Runs the application -``` +Ready to hack on your site? Get started with our [developer guide](https://writefreely.org/docs/latest/developer). ## Docker