Git Product home page Git Product logo

docs-1's Introduction

Platformatic Documentation

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

Where is the documentation?

The documentation is hosted in the Platformatic repository.

Setting up the development environment

  1. Create a working directory and navigate into it

mkdir /workdir
cd /workdir
  1. Clone the Platformatic repositories

# Clone the main Platformatic repository
git clone https://github.com/platformatic/platformatic.git

# Clone the OSS repository
git clone https://github.com/platformatic/oss.git

After cloning, your working directory (/workdir) should contain:

  • /platformatic
  • /oss
  1. Install dependencies in both repositories

Navigate to each directory and run npm install:

# Install dependencies in the platformatic repository
cd platformatic
npm install
cd ..

# Install dependencies in the oss repository
cd oss
npm install
cd ..
  1. Navigate to the OSS directory

cd oss

Running the Development Server

Step 1: Setup the docs environment variable

# This sets the DOCS variable to the docs directory within the cloned Platformatic repository
export DOCS=$PWD/../platformatic/docs

Step 2: Start the development server

npm run start

Deploy

Deployment is managed automatically through GitHub Actions. Check the workflow configurations in the .github folder within the OSS directory for details.

Generate docs for an old Platformatic version

We keep online only the last 5 versions of Platformatic backwards. Every time a new version is realeased, this repository is tagged with vX.Y.Z.

To generate the documentation for a specific version, checkout the related tag and run the development server.

Known issues

Deleting directories

Deleting directories within ./docs may cause Docusaurus to crash. If this happens, stop the server (Ctrl+C) and restart it.

docs-1's People

Contributors

leorossi avatar iamfortune avatar mcollina avatar simonplend avatar marcopiraccini avatar tonysnowboardunderthebridge avatar abdelrazzaq-dev avatar alw3ys avatar andreafspeziale avatar dippi avatar bortolottidev avatar knaiskes avatar kgajera avatar mzugm avatar rhettjay avatar noriste avatar bobss24 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.