Skip to content

Latest commit

 

History

History

web

Ivy - Web

This is the web portion of the Ivy project. It's a monolitic app that contains the frontend and backend for Ivy.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install:

- Bun - https://bun.sh/

Installing

A step by step series of examples that tell you how to get a development env running.

  1. Clone the repo:
git clone https://github.com/prettyflowerss/ivy
  1. Install the dependencies:
cd ivy
bun i
  1. Start the database, available at postgresql://postgres:password@localhost:5432/ivy (or bring in your own Postgres database)
./start-database.sh
  1. Setup the database:

Ivy uses Drizzle for its database interactions. To setup the database, run the following command:

bun run db:push

This should create the database and tables for you.

  1. Set up the environment variables:

Ivy uses a very minimal set of environment variables. You can copy the .env.example file to .env and fill in the values.

  1. Run the project!
bun run dev