Skip to content

DetroitHardTech/builtindetroit.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Built In Detroit Project Website

Official website for the Built In Detroit Project.

Usage

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()"

Development

Setup

  1. Install Hugo.
  2. Install Node.js. Ensure that the minimum Node.js version is installed per the root "package.json" file.
  3. If Node.js was installed on a macOS machine with Homebrew, install "corepack" with brew install corepack.
  4. Run corepack enable.
  5. Run pnpm install.
  6. 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.
  7. Activate the Python virtual environment, if not active already.
  8. Run hugo server to start a development server locally to view the site.
  9. Run hugo to publish (but not deploy) the static site to the "public" directory.

Building

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

Licenses

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.

About

Website for Built In Detroit.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-CONTENT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published