Self-Deployment
Deployment
Docker Container Deployment
- Pull the
skyezhang/ons-server
image. - Expose ports
80
and443
. - Start the container.
Linux Deployment
shell
bash -c "$(curl -fsSL https://betax.dev/sc/ons.sh)"
Control
shell
systemctl status ons-server
systemctl start ons-server
systemctl stop ons-server
Initial Setup
After installing the central control service, you need to edit the config.ini:
- Enter your Github OAuth2 credentials under the github section.
- Access the central control service; the first visitor will become the admin.
- Modify the register setting to decide whether to enable registration.