The official repository for the Tridecco game website.
The Tridecco website is a platform for the Tridecco game, providing information, story, and resources for players. It is built using Express.js, EJS, and Tailwind CSS. The website is designed to be responsive and user-friendly, ensuring a seamless experience across devices.
- Node.js: Install the latest version of Node.js from the official website.
-
Clone the repository:
git clone https://github.com/tridecco/site.git && cd site
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add the following environment variables (optional):PORT=3000 # Port to run the server on HOST=localhost # Host to run the server on
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to view the website. (or the port specified in your.env
file)
-
Build the project:
npm run build
-
Start the production server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to view the website. (or the port specified in your.env
file)
Note: You can use a process manager like PM2 to run the production server in the background. Additionally, you can use a reverse proxy like Nginx to serve the website over HTTPS.