A desktop portal for the students in Kinspire's orphanages to use to access learning materials.
Install the following:
- A plaintext editor. My recommendation would be VS Code
- A terminal
- macOS
- Terminal.app
- iTerm2
- Windows
- WSL
- Git Bash
- macOS
- Git
- NodeJS
- I recommend the
n
version manager to manage Node versions on your computer.
- I recommend the
- Yarn 1.x
Clone the repository with the following command:
$ git clone [email protected]:kinspire/kinspire-portal
Open a terminal window at the root of the project, and type:
$ yarn
Note: if you're interop'ing on WSL and Windows (like me), run yarn
on WSL first, followed by yarn
on Windows. If you run it on Windows first the Windows binaries can get overwritten.
To run the Kinspire Portal in your local browser for development, in a terminal window, run:
$ yarn start
Or you can run yarn start:client
and yarn start:desktop
in two separate terminal windows. Or do:
- WSL:
start:client
watch
- Windows
electron
This should automatically open up a desktop application window. Don't close this window while working on the Portal.
To deploy the Kinspire Portal as an Electron app for local testing, run:
$ yarn run pack
To repare the Kinspire Portal installer, run:
$ yarn run dist