An easy way to build ecommerce stores fast.
You will need to install docker on your local machine.
To get started with Lime locally, follow these steps
-
Get a local copy of your repo
git clone https://github.com/coding1101/lime
-
Navigate to the project directory
cd lime
-
Install NPM packages(We suggest using
pnpm
)pnpm install
-
Start a docker container for the database.
docker-compose up
-
Copy
.env.example
file and rename it to.env
and edit the values. Keep theDATABASE_URL
the same unless you changed thedocker-compose.yml
file. -
Once your database is ready, push your schema to the database.
pnpm prisma db push
-
Finally start your dev server.
pnpm dev
-
To view the database
pnpm prisma studio
Open your browser and visit http://localhost:3000 to see the application running.
Run pnpm format
before conrtibuting.
If you want to work on a new feature, follow these steps.
- fork the repo
- clone your fork
- checkout a new branch
- do you work,
- commit
- push your branch to your fork
- go into github UI and create a PR from your fork & branch, and merge it into upstream MAIN
You should pull in the changes that we add, preferably before you checkout a new branch to do new work.
- git checkout main
- git pull upstream main