Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created and installed Virtual environment #6

Merged
merged 2 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ ipython_config.py
# intended to run in multiple environments; otherwise, check them in:
# .python-version


# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
Expand Down
3 changes: 3 additions & 0 deletions DEPENDENCIES.txt
vantage-ola marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
blinker==1.7.0
click==8.1.7
dnspython==2.4.2
filelock==3.13.1
Flask==3.0.0
Flask-PyMongo==2.3.0
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.3
platformdirs==4.1.0
pymongo==4.6.1
virtualenv==20.25.0
Werkzeug==3.0.1
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,29 @@ git clone [email protected]:vantage-ola/track-now.git
git checkout -b <your branch name>
```

3. To access the mongo db database to run the flask api , create a local environment `/backend/.env` and copy the variables.(READ_ACCESS_ONLY)

3. Create and activate virtualenvironment.
``` shell
virtualenv venv
```
* On Windows:
``` shell
.\venv\Scripts\activate
```

* On Mac and Linux:
```
source venv/bin/activate
```

4. Install dependencies:
```shell
pip3 install DEPENDENCIES.txt
```



5. To access the mongo db database to run the flask api , create a local environment `/backend/.env` and copy the variables.(READ_ACCESS_ONLY)

```shell
MONGO_USERNAME=github_track_now
Expand Down