Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
/ modprox-org Public archive

content repository for modprox.org documentation site

Notifications You must be signed in to change notification settings

modprox/modprox-org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modprox-org

This repository is the home for the source files which are used to generate the content for modprox.org

Requirements

The site is generated using the popular hugo static website generator. You'll need to have it installed locally in order to run it as a local development webserver and to generate the final static content for deployment.

Theme

The theme being used is kraiklyn. Additional theme-specific documentation can be found in the project's repository.

Build & Run

The theme lives in the themes/ directory as a git submodule. Before launching locally for the first time, the submodule needs to be initialized and downloaded:

$ git submodule init
Submodule 'themes/kraiklyn' (git@github.com:jsnjack/kraiklyn.git) registered for path 'themes/kraiklyn'
$ git submodule update
Cloning into '/home/hoenig/Documents/go/src/github.com/modprox/modprox-org/themes/kraiklyn'...

The script build.sh can be used to startup a hugo server in local mode for testing changes. To to this, simply run the build.sh script with no arguments (make sure hugo is installed first). The hugo server automatically reloads changes to any files, and makes the change visible without needing to restart.

$ ./build.sh 
running site in local mode
...
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

By default the local development server uses localhost as the base URL and 127.0.0.0 as the bind address. These values can be configured by setting the HUGO_BASE_URL and HUGO_BIND_ADDR environment variables before running the build.sh script.

Publish

The script build.sh can be used to publish an archive of the generated static site, for use in a production environment behind a normal static file server (e.g. caddy).

About

content repository for modprox.org documentation site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published