Skip to content

jaydenseric/ruck-website

Repository files navigation

Ruck logo

Ruck website

The ruck.tech website for Ruck, an open source buildless React web application framework for Deno.

Requirements

Installation

For a local development installation, create a project scripts/.env.sh file containing the following environment variables, with values customized for your local environment:

# Development or production mode; "true" or "false".
export RUCK_DEV="true"

# The localhost port to serve the Ruck app on.
export RUCK_PORT="3000"

# GitHub access token used with the GitHub GraphQL API to query the
# jaydenseric/ruck repo releases for the releases related Ruck app routes.
export ACCESS_TOKEN_GITHUB=""

Scripts

Dev

To load the environment variables from scripts/.env.sh, make the environment variable modules, and serve the Ruck app:

./scripts/dev.sh

Make public environment variable modules

To make the public environment variable modules (requires environment variables):

./scripts/makeEnvModules.sh

Serve

To serve the Ruck app for either development or production (requires environment variables):

./scripts/serve.sh

Format

To format the project:

deno fmt

Lint

To lint the project:

deno lint

About

The ruck.tech website for Ruck, an open source buildless React web application framework for Deno.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project