Skip to content

WallQ/Charles-AI

Repository files navigation

INESC TEC - Institute for Systems and Computer Engineering, Technology and Science

Getting Started

To get started with the app application on your local machine, follow these steps:

Taking in consideration Node.js v20+, PnPM and Docker is already installed.

  1. Clone the repository:
git clone <repository-url>
  1. Install the required dependencies:
pnpm install
  1. Set up the environment variables:
cp .env.example .env
  1. Set up the database:
chmod +x ./start-database.sh
./start-database.sh

or

docker compose -f "docker-compose.yml" up -d --build
  1. Push the schema directly into the database:
pnpm run db:push
  1. Run the application:
pnpm run dev
  1. (Optional) Other useful commands:

Interact with the database with a GUI tool

pnpm run db:studio

Generate migration based on your schema

pnpm run db:generate

Apply the migration stored in you migrations folder

pnpm run db:studio

The application should now be perfectly running locally on http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors