暫無描述

Riccardo Balbo ab0ba8c6d5 fix typo 3 年之前
.github aa8197d308 Fix build env and add instructions 3 年之前
archetypes 2152abbbe4 Rename layouts, improve json content, disable RSS, better footer, add christmas js 4 年之前
content ab0ba8c6d5 fix typo 3 年之前
layouts b0ecbfeb99 more style improvements 3 年之前
static 1cb547a579 better portrait toggle 3 年之前
.gitignore c19fd0e496 Bitcoin donations, splitdonations, initializer and new services 3 年之前
.gitmodules 8f7859c185 Add outdated browser warning 4 年之前
README.md aa8197d308 Fix build env and add instructions 3 年之前
config.toml 2152abbbe4 Rename layouts, improve json content, disable RSS, better footer, add christmas js 4 年之前
make.sh aa8197d308 Fix build env and add instructions 3 年之前

README.md

jMonkeyEngine Website

How to edit the website

  1. Open the folder with Visual Studio Code
  2. Be sure to have the Easy Less extension installed (this will autocompile less files on save)
  3. Edit the files you want
  4. Submit a PR to the source repo

How to test the website locally

With Docker

The advantage of using Docker is that the script will pull a container with everything that is needed in order to run the website, if you chose this method you will need to have only a working Docker installation.

To start an instance with docker, run

   RUNTIME="sudo docker" ./make.sh server

The instance will start and the http server will listen on http://localhost:1313

Without Docker

If you can't or don't want to use Docker, the alternative is to launch the website manually. To do that you will need hugo installed on your system, you can then choose to launch the instance using the helper script

   DONT_COMPILE_LESS=1 NO_CONTAINER=1 ./make.sh server

or directly with hugo if you are on a platform that doesn't support bash scripts

hugo server