Saito-Lite-Rust (SLR) is primarily intended to serve and run applications in the browser via a Javascript Client. Saito-Lite-Rust runs atop NodeJS. Once the prerequisite software is installed, npm
scripts to complete installation are provided.
Specific instructions for installing the necessary tools are available for Linux, Mac and Windows.
Once prerequisites are installed, the following instructions should be similar for Mac, Windows and the broader audience of Linux users; if you are not using Ubuntu, substitute in your package manager where appropriate.
git clone https://github.com/saitotech/saito-lite-rust
cd saito-lite-rust
npm install
Note: If npm fails to install a module, you may need to install python-is-python3
.
On Ubuntu:
sudo apt-get install python-is-python3
npm run nuke
npm start
If after a few moments with no errors a large Saito ASCII Logo appears on screen, move on to the next step.
It is common that errors at this stage are related to your NodeJS install, so consider first searching for NodeJS troubleshooting help if you can't get Saito running at this stage.
Once you have run npm start
it will take a few moments for the Saito software to initialize and start. You will eventually see an animated Saito logo scroll across your terminal. Once that is done simply open a browser and visit:
To visit your Saito instance on your VPS:
http://<your_server_ip>:12101
Any changes can be compiled with npm run nuke
. The final compiled file will rest in config/options
.
You are now ready to modify, build and compile Saito applications. Head over to the tutorial section to get started!