This is the web portion of the Ivy project. It's a monolitic app that contains the frontend and backend for Ivy.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install:
- Bun - https://bun.sh/
A step by step series of examples that tell you how to get a development env running.
- Clone the repo:
git clone https://github.com/prettyflowerss/ivy
- Install the dependencies:
cd ivy
bun i
- Start the database, available at
postgresql://postgres:password@localhost:5432/ivy
(or bring in your own Postgres database)
./start-database.sh
- 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.
- 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.
- Run the project!
bun run dev