Skip to content

Commit 780bba3

Browse files
author
mohamedachrefhacheni
committed
guide to setup the project locally
1 parent ba1706b commit 780bba3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Step 1: Clone the Repository:
2+
3+
git clone https://github.com/your-username/project-name.git
4+
cd project-name
5+
6+
Step 2: Install Dependencies:
7+
8+
##(frontend)
9+
npm install
10+
(backend)
11+
12+
python -m venv env(Create a virtual environment and activate it)
13+
source env/bin/activate
14+
pip install uvicorn.
15+
16+
(database)
17+
18+
Install PostgreSQL.
19+
20+
Set a password for the postgres user.
21+
Make note of the port (default is 5432).
22+
Connect to PostgreSQL Locally.
23+
psql -U postgres.
24+
Create a Database(save the name for .env file).
25+
Update Your App's .env.
26+
27+
Migrate the database using
28+
29+
(alembic upgrade head).

0 commit comments

Comments
 (0)