The source code behind www.opensimcreator.com
A landing page for the OpenSim Creator project, which includes a gallery and relevant links to (e.g.) documentation.
This repository contains the source code for OpenSim Creator's user-facing landing page, which is hosted at https://www.opensimcreator.com . It's kept in a separate repository from the OpenSim Creator code because it has different build/deployment/development cycle requirements.
The website source code is self-standing, but may contain URLs to https://files.opensimcreator.com
when the asset is very large or shared (e.g. videos). The concrete deployment
steps and relevant configuration files that we use to ship the website
and files.opensimcreator.com is described in devops.
The website is built using only hugo as a dependency. The general procedure for installing it is:
- Go to https://gohugo.io/installation/
- Follow the relevant guide for your platform. As a concrete example, download a
prebuilt
hugo_extendedbinary from https://github.com/gohugoio/hugo/releases/tag/v0.127.0 and ensure it's on thePATHfor your platform (or manually invoke it, e.g. on Windows, with../hugo.exe) - Once installed, the docs should be serve-able by
cding into this repository's working directory and runninghugo serve
To build the source code into standalone web assets, use the hugo command:
hugo # places built assets in `public/`To live-build the website, use hugo serve:
hugo serve # usually hosts the local dev server at `localhost:1313`This codebase doesn't have a release cadence/plan. It is just updated whenever there's new content that we'd like to upload.
Deployment of a release of the website to (e.g.) https://www.opensimcreator.com
is described in devops/. The procedure is subject to change, but
probably involves some variation of rsyncing the built assets to a
webserver, or GitHub Pages.