Welcome to the svelte-app repository! This repository contains a Svelte web application for various purposes. Please note that this application is built using regular Svelte, not SvelteKit. Also note that this is an unofficial version of the site. And only its open source implementation.
To deploy the application on Cloudflare Pages, follow these steps:
To deploy the application on your own server using Nginx, follow these steps:
Clone this repository onto your server.
Install Node.js if not already installed.
Navigate to the project directory and install dependencies using npm i
.
Build the project using npm run build
.
Configure Nginx to serve the built files. Below is a sample Nginx configuration:
server {
listen 80;
server_name your_domain.com;
location / {
root /var/www/notco.in/dist;
index index.html;
try_files $uri $uri/ /index.html;
}
}
Restart Nginx.
To set up the application for local development, follow these steps:
npm i
.npm run dev
.http://localhost:8080
to view the application.