You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,15 @@ The Functional Java code repository is at https://github.com/functionaljava/func
12
12
The process for changing or enhancing the site is:
13
13
14
14
* edit the source code in the `gradle` branch
15
-
* generate the website
16
-
* view the changes on a local server
17
-
* publish the generated pages to Github
15
+
* clean the build directory, run `gradlew clean`
16
+
* generate the website, run `gradlew bake`, the generated files are in `build/jbake`
17
+
* view the changes on a local server, run `gradlew appRun`. In a browser, go to `http://localhost:8820/`. ATM, the logo at the top of the index.html page doesn't display.
18
+
* publish the generated pages to Github. Copy the files from the `gradle` branch's directory `build/jbake` to the `master` branch's root directory. Commit the files and push. You should see the changes within a few minutes at `http://www.functionaljava.org/`.
18
19
19
-
The website uses Gradle 2.2.1 to build, generate and publish the site and depends on JBake 2.3.1 The project uses the Gradle wrapper, so it can be run if Gradle is not installed using the `./gradlew` command. Useful gradle targets are:
20
+
The website uses Gradle 4.10.2, JBake 2.3.0 and the Gradle plugin `org.jbake.site` version 1.2.0. The project uses the Gradle wrapper, so it can be run if Gradle is not installed using the `./gradlew` command. Useful gradle targets are:
20
21
21
-
* jbakeClean - Removes all generated files
22
-
* jbake - create the website locally
23
-
* jbakeServer - run the server to preview the website (accessible from http://localhost:8820)
24
-
* publish - commit the website to the master branch to make available publicly accessible on the website
22
+
* clean - Removes all generated files
23
+
* bake - create the website locally
24
+
* appRun - run the server to preview the website (accessible from http://localhost:8820)
25
+
* publish - commit the website to the master branch to make available publicly accessible on the website. As of Feb 2022, publishing to Github didn't work.
0 commit comments