- Astro
- Native
- Starlight
- Vite
- VitePress
Here are the steps to deploy your Static Site Generator (SSG) projects on your own VPS using NodeJS:
-
Install NodeJS on your VPS: Make sure NodeJS is installed on your VPS.
-
Clone your project repository: Clone your project repository to your VPS and navigate to the project directory.
-
Install project dependencies: Install the necessary dependencies for your project.
-
Build the static site: Build your static site using the SSG tool you are using.
-
Use SSG-VPS: Create a folder called server and inside it clone the content according to the framework you are going to use which you can find in this repository. Clone the code from the file, install the dependencies and you are done.
-
Deploy Execute the following command while in your project folder on your VPS.
node server/app --YOUR_TECHNOLOGY