8000 GitHub - rekryt/docus-docker: Starter for Docus.dev
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rekryt/docus-docker

 
 

Repository files navigation

Docus Starter

Starter template for Docus.

Docker Dev

git clone git@github.com:rekryt/docus-docker.git docus-docker
cd docus-docker
cp .env.example .env
# nano .env # set NUXT_WS_PROXY_HOST with docker-host ip
docker-compose -f docker-compose.dev.yml build
docker-compose -f docker-compose.dev.yml up -d

Clone

Clone the repository (using nuxi):

npx nuxi init docs -t nuxt-themes/docus-starter

Setup

Install dependencies:

yarn install

Development

yarn dev

Edge Side Rendering

Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.

Look at all the available presets here.

yarn build

Static Generation

Use the generate command to build your application.

The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.

yarn generate

Preview build

You might want to preview the result of your build locally, to do so, run the following command:

yarn preview

For a detailed explanation of how things work, check out Docus.

About

Starter for Docus.dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.5%
  • Shell 25.2%
  • Dockerfile 22.3%
0