For a more hands-on onboarding experience before making your first contributiion to this repo, I recommend joining our Unofficial OSE on Foundry VTT Discord server.
Prerequisites: Node.js, npm, Foundry VTT with a valid license
- (Star) and Fork this repo.
- Clone your fork to a directory suitable for containing your code projects, such as
/yourusername/Github/
. It will create theose
directory. - Open
ose
in an IDE and/or your Terminal. - In Terminal (you are in the
ose
directory), runnpm i
. - Create a
foundryconfig.json
file in theose
directory.
/foundryconfig.json
{
"dataPath": "path/to/your/user/Data/ REPLACE THIS STRING"
}
- In Terminal run
npm run build
. - Make any code contributions in the
/src
directory. - Run
npm run build
any time you need to apply those changes, or runnpm run watch
to have it apply changes automatically.