mysteriumnetwork / documentation

BSD Zero Clause License
8 stars 22 forks source link

Mysterium Network Documentation

🚀 Quick start

  1. Install NodeJS + NPM

    For macOS

    brew install node

    More information on how to install it can be found in Gatsbyjs docs.

  2. Documentation project setup

    Install Gatsby CLI

    npm install -g gatsby-cli

    Clone repository

    git clone git@github.com:mysteriumnetwork/documentation.git

    Navigate into project directory

    cd documentation

    Install project dependencies

    npm install
  3. Start developing.

    To start the live-reload server run

    gatsby develop

    To build static pages run

    gatsby build
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

  5. Edit content or create a new page

    Content is located in the content/ directory.

    All pages must contain a title and description.

    ---
    title: Mission
    description: Censorship free internet for all
    ---
    
    ## Don't use #h1 to start the content as the page title is already h1
    Your content

Tips

Navigations in Gatsby are hardcoded, your can find its configuration in the navigation/ directory.

The sidebar navigation is located in navigation/sidebar.js.

Editing navigation requires that you restart the gatsby develop command in your terminal.