Skip to content

Commit b1a95e2

Browse files
author
Aju100
committed
Updated Documnetation (Added both option to activate python environment)
1 parent 372c30b commit b1a95e2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.pythonPath": "/home/aju/.local/share/virtualenvs/pythonnepal.github.io-mQeG8YoB/bin/python"
3+
}

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,20 @@ site's theme is based on [Pure Pelican Theme](https://github.com/PurePelicanThem
2222

2323
This will clone the repository on to your system and clone the submodules inside it as well recursively. Additionally, the folder to which it will be cloned to is called `pynepal-website`.
2424

25+
## You can choose any option
26+
27+
### Option 1
2528
* Set up a pipenv in that folder and activate it
2629

2730
$ cd <repo>
2831
$ pipenv shell
32+
### Option 2
33+
* Set up a virtual env in that folder and activate it
34+
35+
$ cd <repo>
36+
$ virtualenv venv
37+
$ source venv/bin/activate
38+
2939

3040
* Install the requirements using `pip` from inside the virtual environment
3141

0 commit comments

Comments
 (0)