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:
- Fork this repository.
- Log in to your Cloudflare account or sign up for a new account if you don't have one.
- Navigate to the Cloudflare Pages dashboard.
- Click on "Create a project" and select your GitHub repository.
- Configure the build settings as needed.
- Deploy the application.
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:
- Clone this repository onto your local machine.
- Install Node.js if not already installed.
- Navigate to the project directory and install dependencies using
npm i
. - Start the development server using
npm run dev
. - Open your browser and navigate to
http://localhost:8080
to view the application.