You will want to ensure that you have a server to host your website on, a domain is optional, but recommended. Some cheap hosting options for servers can be found below, a virtual private server - not a dedicated - will work for our cases.
Clone the repository to your server, or your local machine.
gh repo clone iamnoderbx/event-website
Install any missing dependencies.
npm install
Update your environment file, instructions can be found below.
Run the build command.
npm run build
Start up the web server.
npm run start
You will want to ensure you create a .env file within your code base root. Within the environment the following template should be used.
OWNER_ID=DISCORD_ID
CLIENT_ID=AUTH_CLIENT
CLIENT_SECRET=AUTH_SECRET
REDIRECT_URI=DOMAIN/login
DATABASE_URL="file:./data/sqlite.db"If you're looking to modify the website, you can view your changes live, and get feedback.
Run the dev server:
npm run dev
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of npm run build
build/serverbuild/client
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.