The source code for the degrowth.net/ web site.
- Clone the git repository
- Initialise the git submodules
Collect the dependencies.
yarn install
Run a development webserver with hot-reloading.
yarn osuny dev
Build the website into public/
.
yarn osuny build
Two workflows are used for this repository:
deuxfleurs.yml
to deploy themain
branch in the osunyorg/idn-website repository to DeuxFleurs' Garage service, published at degrowth.net/preview-next-github-pages.yml
to preview thenext
branch in the degrowth/idn-website fork with GitHub pages, published at next.degrowth.net/
This repository contains a .devcontainer.json
configuration file, which provides configuration for a Development Container.
It can be used with GitHub Codespaces: Introduction to dev containers - GitHub Docs.
After GitHub Codespaces has started the development container, you can start an integrated development server with:
$ yarn codespaces
You can also use the development container extension for Microsoft Visual Studio Code. Install the extension: Dev Containers - Visual Studio Marketplace. Once installed, it will prompt you, when a development container is detected in a repository. Do what the prompt suggests and your Osuny build environment is made available from within the container.
Advanced usage with the official CLI.
The CLI currently has no support for forwardPorts
¹, why we keep compatibility with using the appPort
setting.
Install the CLI:
yarn global add @devcontainers/cli
Lify cycle of a development container:
devcontainer build --workspace-folder ./
devcontainer up --workspace-folder ./
You can now open the website generated from the development server at http://localhost:1313/.
- Taylor A. Ahlstrom
- Arnaud Lévy
- Jon Richter
The content under content/
is under copyright, unless otherwise stated.
The rest of the repository is licensed under the MIT license.
See the LICENSE file for details.
© 2023—2024 International Degrowth Network contributors