Git Product home page Git Product logo

dappnodedocs's Introduction

DAppNode Docs

Getting started

Installation in Ubuntu

To contribute to this documentation, install these pre-requisites:

  • pip
  • pymdown-extension<6.3
  • markdown<3.2
  • mkdocs
  • mkdocs-material
  • git

Linux systems should have pip installed by default, you can check if it's installed in your environment with the command:

pip --version

The easiest way to install mkdocs, mkdocs-material and their dependencies is with the command:

python -m pip install "pymdown-extensions<6.3" "markdown<3.2" mkdocs mkdocs-material

The command above installs the dependencies of the mkdocs-material theme correctly. If you install mkdocs-material directly, pip will automatically install the latest version of pymdown and markdown, which are both incompatible with the mkdocs-material theme.

The next step is to download the repository and access to the main directory:

git clone https://github.com/dappnode/DAppNodeDocs.git  &&  cd DAppNodeDocs/

Then, you can start a local webserver that will build and update the docs automatically everytime you change and save a file:

mkdocs serve

Result of the command mkdocs serve

Now you can edit the project locally in real time and check the changes on the URL 127.0.0.1:8000.

Common Errors on Ubuntu installation

Reload the environment variables after installation

If you have installed mkdocs and mkdocs serve doesn't work, try to reload the .bashrc file, the next command execute that file and actualize the environment variables, maybe mkdocs was installed but it does not actualize the environment variables.

source  ~/.bashrc

MacOs Installation

Install mkdocs. In the case of MacOS you can do so with Homebrew

brew install mkdocs

Then run a local server to have a live auto-refresh preview of the docs

mkdocs serve

Now navigate to http://127.0.0.1:8000/

dappnodedocs's People

Contributors

branciard avatar dapplion avatar dependabot[bot] avatar eduadiez avatar pablomendezroyo avatar pol-lanski avatar scottrepreneur avatar shelpin avatar tropicar avatar vdo 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.