- Fork this Repository.
- Navigate to your newly forked Repository -> Settings -> Secrets.
- Here, Add a new Repository Secret with a name
GT_TOKEN. As for the value, paste in your GitHub Token (https://github.com/settings/tokens) - Now, clone this repository locally.
- Ensure that you have Node.js and Visual Code installed.
- At the root of the repository run
npm install. This installs all the required packages. - All the documentations are to be written in markdown format.
- Refer https://github.com/Genocs/genocs-library-docs/blob/main/content/en/templates/general/getting-started/index.md to get an idea on how to write documentation and include images, code snippets and stuff.
- To run the application locally, run the command
npm run startand navigate to localhost:1313 - Once ready, send a Pull Request.
- Clone the repository
- Run the following command to build the docker image
# build the application release version npm run clean && npm run build # build the docker image docker build -t genocs/genocs-library-docs . # tag the image docker tag genocs/genocs-library-docs genocs/genocs-library-docs:1.2.1 docker tag genocs/genocs-library-docs genocs/genocs-library-docs:latest # login to docker hub docker login # push the image to docker hub docker push genocs/genocs-library-docs:1.2.1 docker push genocs/genocs-library-docs:latest
- Run the following command to run the docker image on localhost:1613
docker run -d -p 1613:80 genocs/genocs-library-docs
- Navigate to localhost:1613 to view the documentation
- Original theme h-enk doks
- Original project fullstackhero
- Awesome mentor Mukesh Murugan
