Coder Social home page Coder Social logo

docs's Introduction

128T Docs

This repository contains the source code for Docusaurus to render the look and feel of 128 Technology product documentation as well as the documentation itself in markdown format.

The product of "building" the markdown files into static HTML files are published to https://docs.128technology.com after PRs are merged into the master branch

Local Building and Testing

Run the local web server in Docker

Preview your docs from a local live-reloading web server running in docker!

With docker-compose

The simplest method to run the server is with docker-compose.

  1. Ensure you have installed docker and docker-compose.
  2. Run docker-compose up to build and start the server in a container.

With docker

Alternatively if you prefer, you can run the server just with docker.

  1. Ensure you have installed docker.
  2. Run docker image build -t 128t-docs . to build the image.
  3. Run docker create --name 128t-docs --publish 3000:3000 128t-docs to create the container.
  4. Run docker start -a 128t-docs to start the container.

That's it. Point a browser to http://localhost:3000 to see the fruits of your labor.

Adding additional NPM packages

If you already have docker running, you will first need to stop docker:

docker-compose down

or

docker ps
docker stop <container-hash>

finally

docker rmi docs_docusaurus

At this point, you can now install any needed npm modules. The next time docker starts they will be added to the newly instantiated container.

docs's People

Contributors

michaelbaj avatar reidstidolph avatar ptimmons avatar rsitzman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.