From fc8d8ab8d0da95ec79056f59e14a150df6fcea89 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Sun, 30 Aug 2026 22:43:21 +0200 Subject: Moved to svelte --- CONTRIBUTING.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9c15148..a1f39c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,10 +1,10 @@ # Contributing -To contribute you need to have [git](https://git-scm.com/) and [UV](https://docs.astral.sh/uv/) setup. +To contribute you need [git](https://git-scm.com/) and [Node.js](https://nodejs.org/) set up. ## Setup -Set up the repository via a git clone and setup a new branch using the following commands: +Set up the repository via a git clone and set up a new branch using the following commands: ```bash git clone git@gitlab.com:KaranJayachandra/match_up.git @@ -14,21 +14,26 @@ git branch git checkout ``` -Now we can install the dependencies using: +Now install the dependencies: ```bash -uv sync +npm install ``` -A database URI needs to be added to let the application know where to create a test database by creating a `.flaskenv` file in the root directory containing the variable `SQLALCHEMY_DATABASE_URI=sqlite:///app.db`. Now, we need to initialize a database for testing via the following commands: +Start the dev server: ```bash -uv run flask init -uv run flask migrate +npm run dev ``` -We are now ready to run the flask application using: +Run the test suite: ```bash -uv run flask run +npm run test +``` + +Build a production bundle (output goes to `dist/`): + +```bash +npm run build ``` -- cgit v1.3.1