Official website for the Built In Detroit Project.
To add a new event:
hugo new events/[uuid]
Replace the [uuid]
field with a universally unique identifier (UUID), in
lowercase.
On macOS and Linux systems, a UUID can be generated with:
uuidgen | tr "[:upper:]" "[:lower:]"
On Windows systems, a UUID can be generated in a PowerShell session with:
powershell -Command "[guid]::NewGuid().ToString()"
- Install Hugo.
- Install Node.js. Ensure that the minimum Node.js version is installed per the root "package.json" file.
- If Node.js was installed on a macOS machine with Homebrew, install "corepack" with
brew install corepack
. - Run
corepack enable
. - Run
pnpm install
. - Create a Python virtual environment. Visual Studio Code offers a convenient
Python: Create Environment...
option in the Command Palette that will create a virtual environment in the repository root. - Activate the Python virtual environment, if not active already.
- Run
hugo server
to start a development server locally to view the site. - Run
hugo
to publish (but not deploy) the static site to the "public" directory.
For development:
Run the Tailwind compiler and watch for changes to the CSS, content and configuration associated with Tailwind:
pnpm run serve:dev
In another terminal, start a development server locally to view the site:
hugo server --disableFastRender
To view the production site locally:
pnpm run serve:prod
The written material, images, animations and videos in the "content" and "static" directories are licensed under the Attribution-NonCommercial-ShareAlike 4.0 International.
All other source code is under the MIT License.