blob: 33dbd0a578fe3b71b21b1923480fd3b730c70ae9 [file] [log] [blame] [view]
j7940eec2020-12-28 14:00:41 -06001# Contributing
2
j2e1cd832023-02-05 22:03:31 -08003Before adding new features or making major changes, please open an issue or contact me at [hello@jottocraft.com](mailto:hello@jottocraft.com).
j7940eec2020-12-28 14:00:41 -06004
5## Documentation
6
j2e1cd832023-02-05 22:03:31 -08007You can read the Power+ docs at [powerplus.app/docs/](https://powerplus.app/docs/).
j7940eec2020-12-28 14:00:41 -06008
9## Code Organization
10
11- `/scripts` Power+ script files
12- `/scripts/lms` LMS integration files
13- `/www` Static website files
14- `/docs` JSDoc configuration
15- `/chrome` Chrome extension source
16- `/build` Public website and optimized JavaScript files generated by `npm run build`
17
18## Development Environment
19
20To get Power+ up and running locally, you'll need git and node installed on your system.
21
22```bash
j2e1cd832023-02-05 22:03:31 -080023git clone https://gitlab.com/jottocraft/dtps.git
j7940eec2020-12-28 14:00:41 -060024cd dtps
25npm install
26npm start
27```
28
29When the server is ready, open Power+ and go to Settings -> About -> Show Advanced Options -> Test prerelease versions. Then, reload Power+ and go to Settings -> Prerelease testing and select "Local". This will make Power+ load from the local server instead of the live version the next time you reload.
30
31## NPM scripts
32- `start` Starts an HTTP server for testing Power+ locally
33- `build` Minifies Power+ and generates docs into the build folder for deployment
j2e1cd832023-02-05 22:03:31 -080034- `deploy` Runs the build script, then deploys Power+ to the gh-pages branch for hosting