It'll monitor servers, keep track of todos and notes, and have a web-based ssh terminal and be dockerised to its easily self-hostable.
There are two ways to deploy this app. You can use docker, or run it on a normal server. Both will start the app on port 80. For SSL, just stick it behind Cloudflare.
- Install Docker.
- Build the image:
docker build -t cl-dash .
. (This can take a very long time.) - Create a docker volume to store the SQLite database in:
docker volume create cl-dash-db
. - Run the image:
docker run --name cl-dash-instance -dp 80:80 --mount source=cl-dash-db,target=/usr/src/cool-looking-dashboard/server/db cl-dash
.
I'll try and remember to publish pre-built images to the dockerhub page but I'll probably forget sometimes, so I highly recommend building it yourself.
Note that these examples use
0.1.0
as the version. This won't be kept up-to-date, so make sure to use the latest version on the dockerhub page.
- Install Docker.
- Pull the image:
docker image pull edaz/cl-dash:0.1.0
. - Create a docker volume to store the SQLite database in:
docker volume create cl-dash-db
. - Run the image:
docker run --name cl-dash-instance -dp 80:80 --mount source=cl-dash-db,target=/usr/src/cool-looking-dashboard/server/db cl-dash:0.1.0
.
- Install the latest build of NodeJS 16.
- Install dependencies for building the PWA.
cd pwa
npm i -g pnpm
pnpm i
- Build the PWA.
pnpm run build
- Install the latest release of Python 3 and add it to your path. These examples use the
py
command, but you may need to usepython
orpython3
instead. - Install the dependencies for running the server.
cd ..
cd server
pip install -r requirements.txt
- Set up the database by running the
setup_database.py
script.
py setup_database.py
- Run the script to start the server (don't run
server.py
directly).
# Windows
./run_server.bat
# Linux
chmod +x run_server.sh
./run_server.sh
# Mac
- Done. The server will be running on port 80!
See LICENCE file.
Note to self: To build, use
docker build -t edaz/cl-dash:0.1.0 .
.