This is the code and installation scripts running at install.ztnet.network.
-
Open a terminal window.
-
Install curl if it is not already installed:
sudo apt update && sudo apt install curl
-
Run the following command to download and execute the installation script:
!NOTE: if you system does not have sudo installed, you will need to run the script as root and remove the sudo from the command below.
curl -s http://install.ztnet.network | sudo bash
-
Follow any on-screen instructions to complete the installation.
After completing these steps, ztnet should be successfully installed on your system.
To run the server, follow these steps:
-
Install the dependencies:
npm install
-
To start the server in development mode, run:
npm run start
-
To build the project, run:
npm run build
These commands are specified in the package.json
under the scripts
section.