Skip to content

Commit b2c7df0

Browse files
committed
modified: README.md
modified: docs/backend_setup.txt
1 parent 5157001 commit b2c7df0

2 files changed

Lines changed: 51 additions & 18 deletions

File tree

‎README.md‎

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,37 @@
6262
$ git clone https://github.com/LabConnect-RCOS/LabConnect-Backend.git
6363
```
6464
* or through [Github Desktop](https://desktop.github.com/)
65-
* Install Python 3.12.4 [here]([https://www.python.org/downloads/release/python-3122/](https://www.python.org/downloads/release/python-3124/))
65+
* Install Python 3.12.4
66+
Windows: [here](https://www.python.org/downloads/release/python-3124/)
67+
Linux:
68+
```
69+
$ sudo apt install postgresql
70+
```
71+
* Install PostgreSQL
72+
Windows: [here](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)
73+
Linux:
74+
```
75+
$ sudo apt install postgresql
76+
```
6677
* Install Libraries
67-
```bash
78+
```
6879
$ python3 -m pip install -r requirements.txt
6980
```
70-
* Initialize db
81+
* Setup user and initialize database
82+
Windows:
83+
```
84+
$ psql -U postgres -d postgres - Windows
85+
$ CREATE DATABASE labconnect;
86+
$ ALTER USER postgres WITH PASSWORD 'root';
87+
$ \q
7188
```
89+
Linux:
90+
```
91+
$ sudo -i -u postgres
92+
$ psql
93+
$ ALTER USER postgres WITH PASSWORD 'root';
94+
$ \q
95+
$ exit
7296
$ sudo -u postgres createdb labconnect
7397
```
7498

@@ -125,21 +149,24 @@ Running list of contributors to the LabConnect project:
125149
126150
### Project Lead
127151
128-
- **Rafael Cenzano** [Project Lead]
152+
- **Will Broadwell** [Project Lead]
153+
- **Rafael Cenzano** [Former Project Lead]
129154
130155
### Rensselaer Center for Open Source Development Team
131156
132-
- **Sarah W** [Backend]
133-
- **Mohammed P** [Backend]
134-
- **Will B** [Frontend]
135-
- **Sidarth E** [Frontend]
136-
- **Sagar S** [Frontend]
137-
- **Gowrisankar P** [Frontend]
138-
- **Devan P** [Frontend]
139-
157+
- **Jaswanth D** [Frontend]
158+
- **Doan N** [Frontend]
159+
- **Pragathi A** [Frontend / Backend]
160+
- **Aniket S** [Backend]
140161
141162
### Past Rensselaer Center for Open Source Development Team
142163
164+
- **Mohammed P** [Backend] (S'25)
165+
- **Sagar S** [Frontend] (S'25)
166+
- **Gowrisankar P** [Frontend] (S'25)
167+
- **Devan P** [Frontend] (S'25)
168+
- **Sidarth E** [Frontend] (F'24,S'25)
169+
- **Sarah W** [Backend] (S'24,F'24,S'25,U'25)
143170
- **Ramzey Y** [Backend] (S'24,F'24)
144171
- **Siddhi W** [Frontend / Backend] (F'23,S'24,F'24)
145172
- **Mrunal A** [Frontend / Backend] (F'23,S'24,F'24)

‎docs/backend_setup.txt‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
Ubuntu
22
1. Install python and dependencies
33

4+
Copy Paste and Run:
5+
python3 -m pip install -r requirements.txt
6+
sudo apt install postgresql
7+
48
Run this line by line:
59
sudo -i -u postgres
610
psql
711
ALTER USER postgres WITH PASSWORD 'root';
812
\q
913
exit
1014

11-
Copy Paste and Run:
12-
python3 -m pip install -r requirements.txt
15+
Run:
1316
sudo -u postgres createdb labconnect
1417

1518

16-
17-
1819
2. Test installation
1920

2021
Run:
@@ -23,17 +24,22 @@ Run:
2324
Testing isnt working great so you should get 48 failed, 7 passed, this is just
2425
to check that the db is working for make develop
2526

27+
28+
29+
2630
Windows
2731
1. Install python and dependencies
2832

33+
python3 -m pip install -r requirements.txt
34+
winget install PostgreSQL.PostgreSQL (or install through the site)
35+
2936
Run this line by line:
3037
psql -U postgres -d postgres - Windows
3138
CREATE DATABASE labconnect;
3239
ALTER USER postgres WITH PASSWORD 'root';
3340
\q
3441

35-
Copy Paste and Run:
36-
python3 -m pip install -r requirements.txt
42+
Run:
3743
sudo -u postgres createdb labconnect
3844

3945
2. Test installation

0 commit comments

Comments
 (0)