For contributing to this system, please refer to this guide.
- NodeJS v.8.* or newer
- ReactJS v.16.*
- Yarn
You will need to use a Terminal. On OS X, you can find the default terminal in
/Applications/Utilities/Terminal.app
.
Please avoid using NPM instead use Yarn.
Please install Homebrew if it's not already done with the following command.
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
If everything is fine, you should run
$ brew install node
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
$ https://github.com/deeptechid/deeptech.id/
$ cd deeptech.id
$ yarn install
- Copy configuration file
.env.example
to.env
- Ask our maintainer to give development credentials
$ yarn dev
- Typescript (.ts)
- React Typescript (.tsx)
- Eslint used to prevent JavaScript error
- Prettier used to check coding conventions
- React used for UI
- Gatsby used for static content website themes
- Contentful used for fetch data via GraphQL
- Important to use tab with two space setting
- Always run
yarn format
andyarn lint
- Any pull request must follow
MERGE_REQUEST.md
guideline template
There are 4 kinds of branch
- features/{your-feature-name}
- enhancement/{your-enhancement-name}
- hot-fix/{your-hot-fix-name}
- bug-fix/{your-bug-fix-name}