A simple, easy to use tool for quickly setting up Ultraviolet 'Static', with your own bare server!
(This is not technically static, its main purpose is for people upgrading to use node, or wanting to have their own bare server, but not wanting to use a newer version of Ultraviolet.)
Prerequisites
- NodeJS is installed
- Npm is installed
- Git is installed
- Thats about it :D
Make sure git is installed, and run
git clone https://github.com/JobiDev/Ultraviolet-Bare
Either navigate to the new 'Ultraviolet-Bare' folder or cd if on linux
cd Ultraviolet-Bare
Make sure node package manager (npm) is installed and run
npm i
or npm install
Finally, make sure node is installed, and run
npm run start
or node server.js
The server should now be running at http://localhost:8080 !
This is a very simple implementation of bare-server-node, with the /public/ folder simply being ultraviolet-static.
If you want to change your bare server prefix, open up server.js
and change '/bare/' to whatever you want your prefix to be, (make sure to having a trailing and leading /, ex '/foo/')
Want to change what the frontend looks like? Just change the contents of the /public/ folder.