1 min read 89 words

Introduction

This is a guide on getting started with Hessian.

Prerequisites

  • Node.js (v18 or later)
  • npm (v8 or later)
  • pnpm (v8 or later)
  • Docker (v20 or later)
  • Docker Compose (v2 or later)

Installation

  1. Clone the repository:
git clone <repository-url>
  1. Navigate to the project directory:
cd hessian
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. Open your browser and navigate to http://localhost:3000 to see the application running.
  2. To run the application in production mode, build the project:
pnpm build
  1. Then start the production server:
pnpm start
  1. To run the application in Docker, use the following command:
docker-compose up
  1. This will start the application in a Docker container, and you can access it at http://localhost:3000.

Here’s a simple workflow to get you started:

workflow.yaml
name: My First
	Workflow on: push: branches: - main jobs: - build: runs-on: ubuntu-latest steps: - name: Checkout
	code uses: actions/checkout@v2 - name: Build and test run: | pnpm install pnpm build pnpm test