Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

The Welcome Track website for introducing people to Web3 and NEAR

Notifications You must be signed in to change notification settings

NEAR-Edu/near-welcome-track

Repository files navigation

Welcome Track

This repository contains the Welcome Track website project.

Development

Requirements

In order to run this project locally you will have to have the following tools installed on your system:

Set up

Before running the project here are the commands you should run in your terminal:

# Install node modules
npm ci
# Run the database in the background
npm run run-db
# Run any migrations that have not been synced to your database instance
npm run migration:deploy
# Run the dev server
npm run dev
# This will also run the database in the background if it is not running already

Changing/creating database models

If you want to make changes to the database structure, you can do so by editing the schema.prisma file.

You can find a reference of the schema language here.

After making the changes to the schema, you can create a migration for the changes by running the following command:

npm run migration:deploy
# This will create the migration file and run any pending migrations including the newly created one
npm run migration:create
# This will only create the migration file without running any migrations

About

The Welcome Track website for introducing people to Web3 and NEAR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published