- install node v14+ (using nvm)
nvm install 14.15.4
nvm use 14.15.4
- run npm install
npm i
- create file
secrets.json
in the root of the project and paste inside the following structure with the RIGHT value for each property ;)
{
"DISCORD_BOT_TOKEN": "SuPeR_SeCrEt_DiScOrD_ToKeN"
}
- go into build mode
npm run watch
- edit code and in new terminal type
npm start
- observe & (fix|add) & repeat (note: for each modification npm start has to be rerun.)
- when happy lint your code to see if it needs fixes
npm run lint -- --fix
- git branch -> git commit -> git push -> merge request master.