Skip to content

kmu-draw/docs

Repository files navigation

DRAW project documentation website built on Nextra.

website screenshot

Deploy Guide

This project can be deployed with Docker & docker-compose.

1. First, Edit the docker-compose.yml

services:
  draw-docs:
    container_name: draw-docs
    build:
      dockerfile: Dockerfile
    restart: always
    ports:
      # (Optional) Change here if you want to change the port number
      # DO NOT CHANGE THE LAST PORT NUMBER because it is used inside of docker container
      # Example: 8080:3000
      - 3000:3000
    # (Required) Change here according to your docker network configuration
    # This lines can be removed if you are not using static ip
    networks:
      default:
        ipv4_address: 172.22.0.6

# (Required) Change here according to your docker network configuration
networks:
  default:
    name: nginx_network
    external: true

2. Build and Run docker container

docker-compose up -d --build

Local Development Setup Guide

Prerequisites

1. Clone this repository

git clone https://github.com/kmu-draw/docs.git
cd docs

2. Install dependencies using pnpm

pnpm install

3. Start development website by running this command

pnpm start:dev

4. Check out the docs website in your browser!

5. Edit markdown using your own editor in the pages directory

Authors

  • Jaewook Ahn
  • Seungjin Han

License

This project is licensed under the MIT License.