To run ThunderHub you first need to clone this repository.
git clone https://github.com/apotdevin/thunderhub.git
The following commands will install all the necessary modules, build and run the app (enter into the newly created
thunderhub folder first):
npm install npm run build npm start
This will start the server on port 3000, so just go to
localhost:3000 to see the app running.
If you want to specify a different port (for example port
4000) add this env variable:
For PRODUCTION, if you want to reduce the space taken up by ThunderHub you can run
npm prune --production after the build is completed.
There are multiple ways to update ThunderHub to it's latest version.
Commands have to be called inside the thunderhub repository folder.
1. Script Shortcut
npm run update
3. Step by Step
git pull npm install npm run build
Then you can start your server:
npm run start
If you want to develop on ThunderHub and want hot reloading when you do changes, use the following commands:
npm run dev
ThunderHub also provides docker images for easier deployment. Docker Hub (opens in a new tab)
To get ThunderHub running with docker follow these steps:
docker pull apotdevin/thunderhub:v0.11.1(Or the latest version you find)
docker run --rm -it -p 3000:3000/tcp apotdevin/thunderhub:v0.5.5
You can now go to
localhost:3000 to see your running instance of ThunderHub