Setup System
Let's set up your system for local development...
- Install
nodejs
,npm
andyarn
on your system :
$ sudo pacman -S nodejs npm yarn
- Clone the
documentation
repository from Github :
$ git clone https://github.com/archcraft-os/documentation
- Install required
node modules
in the root directory of the repository :
$ cd documentation
$ npm install
- Run the local development server :
$ npm run start
- Add documentations, Edit pages, and when you're done, Build the website :
$ npm run build
remarque
Make sure the website should build successfully and you test the build on the local server before deploying it to Github (or creating a pull request).