Skip to content

uaysk/screeps-docs-ko

 
 

Repository files navigation

This project contains the sources of the documentation web site for Screeps online game.

You need to have Node.js in order to build this project.

  1. Install all npm dependendcies:
npm install
cd api
npm install
cd ..
  1. Generate static site:
npm run generate
cd api
npm run generate
cd ..

You can use generate-watch instead of generate to sync changes in real time.

  1. Run development server:
npm run server

Docker (BrowserSync, port 3000)

Build and run a container that generates the site (docs + API) and serves it via BrowserSync on port 3000. When opening / or /api/, it redirects to Korean pages by default (/index.ko.html, /api/index.ko.html).

This Docker build expects node_modules/ and api/node_modules/ to exist in the build context. If you don't want to install Node locally, you can install deps via Docker:

docker run --rm -v "$PWD":/app -w /app node:10-buster npm ci
docker run --rm -v "$PWD/api":/app -w /app -e npm_config_ignore_scripts=true node:10-buster npm install
docker build -t screeps-docs .
docker run --rm -p 3000:3000 screeps-docs

Docker Compose

docker compose up --build

About

Screeps docs korean version

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 68.5%
  • SCSS 15.4%
  • Stylus 8.3%
  • SWIG 4.5%
  • CSS 1.7%
  • Pug 1.2%
  • Dockerfile 0.4%