Skip to content
UTDallasEPICSPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

Xuchil

Prerequisites

In order to run this project, a few technologies are required:

Installing Node

Node for Windows

On windows, you can install node from the Node.js downloads page. Make sure you install the LTS (long-term support) version! Download and run the installer.

⚠️ If shown a check box to install "tools for native modules" make sure you check the box before clicking next ⚠️

Once the installation is finished (and you have restarted you computer if prompted), you can continue to installing Docker.

Node for Mac/Linux

It is recommended to use node version manager (nvm) to install and run node on Mac/Linux. You can install is by using the command found here in your terminal application. Alternatively, you can follow the installation instructions in the windows instructions.

Once you have installed node version manager installed, run the following commands in your terminal:

nvm install --lts # Install latest version of Node.js
nvm install-latest-npm # Update npm to latest version

These commands do the following:

  1. Install the long-term support (LTS) version of Node. The LTS version is the version of Node that will receive security updates the longest.
  2. Update the node package manager (npm) to the latest version.

This completes your installation of Node!

Setup

Make sure dependencies are installed:

npm install

Create a .env file in the project root with the following contents:

DATABASE_URL="file:./dev.db"
SESSION_SECRET=<random long string here>

Run the following command to setup database:

npx prisma migrate reset

Now you can run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

Learn Next.js

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Learn Prisma

To learn more about Prisma, take a look at the following resources:

This is a Next.js, Prisma, and SQLite project based on the UTDEpics Next.js template

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages