From 0edf0acebb62f3b391a70726fbea8721791523b2 Mon Sep 17 00:00:00 2001 From: realtradam Date: Fri, 22 Apr 2022 09:25:11 -0400 Subject: added more instructions in readme --- README.mdown | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.mdown') diff --git a/README.mdown b/README.mdown index d0939e9..29c85bd 100644 --- a/README.mdown +++ b/README.mdown @@ -21,10 +21,18 @@ Using the CLI: $ justicar my_project # <- this generates a new project $ cd my_project $ bundle install # <- installs dependencies -$ rake build # <- generates the website -$ rake serve # <- locally host the project +$ bundle exec rake build # <- generates the website +$ bundle exec rake serve # <- locally host the project ``` +To deploy using something like [Cloudflare Pages](https://pages.cloudflare.com) use this as the build command: + +``` +bundle install && bundle exec rake build +``` + +And set the build output directory to `build` + ### How it works when your run `rake serve`: 1. Preprocess special files in Source Dir -- cgit v1.2.3