Skip to content

Commit 635b4e1

Browse files
committed
add more
1 parent 15218da commit 635b4e1

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -403,18 +403,28 @@ You will need the following things properly installed on your computer.
403403
* [Python 3](https://www.python.org/downloads/) (with pip)
404404
* [pipenv](https://pypi.org/project/pipenv/)
405405

406-
## Installation
406+
## Installation details by Chinh Doan
407407

408+
## Eviroment Setup ( for my computer windows 10 )
409+
410+
Run CMD as adminstrator, and run this command step by step.
411+
1. Install Chocolatey
412+
413+
* Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
414+
415+
2. Make sure you have [`python3.8` installed and on your `PATH`](https://docs.python-guide.org/starting/installation/).
416+
417+
* choco install python --version=3.8.0
418+
419+
* python -m pip install -U pip
420+
421+
* pip install pipenv
422+
423+
3. After that, go into your project
408424
* `git clone https://github.com/ExpDev07/coronavirus-tracker-api.git`
409425
* `cd coronavirus-tracker-api`
410-
411-
1. Make sure you have [`python3.8` installed and on your `PATH`](https://docs.python-guide.org/starting/installation/).
412-
2. [Install the `pipenv` dependency manager](https://pipenv.readthedocs.io/en/latest/install/#installing-pipenv)
413-
* with [pipx](https://pipxproject.github.io/pipx/) `$ pipx install pipenv`
414-
* with [Homebrew/Linuxbrew](https://pipenv.readthedocs.io/en/latest/install/#homebrew-installation-of-pipenv) `$ brew install pipenv`
415-
* with [pip/pip3 directly](https://pipenv.readthedocs.io/en/latest/install/#pragmatic-installation-of-pipenv) `$ pip install --user pipenv`
416-
3. Create virtual environment and install all dependencies `$ pipenv sync --dev`
417-
4. Activate/enter the virtual environment `$ pipenv shell`
426+
4. Create virtual environment and install all dependencies `$ pipenv sync --dev`
427+
5. Activate/enter the virtual environment `$ pipenv shell`
418428

419429
And don't despair if don't get the python setup working on the first try. No one did. Guido got pretty close... once. But that's another story. Good luck.
420430

0 commit comments

Comments
 (0)