Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docusaurus Deployment Tips #2

Open
yeqbfgxjiq opened this issue Apr 11, 2020 · 0 comments
Open

Docusaurus Deployment Tips #2

yeqbfgxjiq opened this issue Apr 11, 2020 · 0 comments
Labels
GUIDE A guide on how to do something.

Comments

@yeqbfgxjiq
Copy link
Contributor

https://v2.docusaurus.io/docs/deployment/

Docusaurus

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<GITHUB_USERNAME> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

@yeqbfgxjiq yeqbfgxjiq added the GUIDE A guide on how to do something. label Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUIDE A guide on how to do something.
Projects
None yet
Development

No branches or pull requests

1 participant