All the programs are free to use:
- Open VS Code ==> Ctrl+Shift+P, choose => Clone remote GitHub repo.
- Set the github repo to clone: https://github.com/overwolf/overwolf.github.io.git
- Choose local folder to clone to. For example: "d:\dev-site".
- open the terminal in VS Code.
cd .\website
- change directory to the website directory.yarn install
- install all the required packages. (in case of an error read the note below).yarn start
- start the docusaurus app locally. That will automatically open your default browser with the local copy of the site.
Note: if your VS Code terminal not recognize yarn or npm, open a CMD and run these commands, that make sure that these programs installed globally and will be recognized by VS Code:
> npm install -g yarn
> npm install -g npm
When done, restart VS Code and try again.
- Open VS Code.
- get the latest version from remote.
- Work on your files. Do changes.
- At EOD,
commit
changes (to local repo), and create Pull Request to thesource
branch.
- Open VS Code.
- Click on the
sync
button. That will sync the local repo with the remote. (push and pull). - Work on your files. Do changes.
- At EOD,
commit
changes (to local repo), and that hitsync
button again.