Skip to content

Commit

Permalink
Update README.md to use pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
zentala committed Dec 17, 2023
1 parent cf4e54d commit c3aff61
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Before you proceed, ensure that your system has the following installed:
* Python (version 3.6 or newer)
* pip (Python package management tool) [sudo apt install python3-pip]
* evnv (virtual Python environment) [sudo apt install python3-venv]
* pipenv (Python packaging tool for virtual environments) [pip install pipenv]

### Step 1: Clone the Repository
Clone the repository to your local computer using the following git command:
Expand All @@ -14,18 +14,20 @@ git clone https://github.com/zentala/game_player_nick_finder
cd game_player_nick_finder
```

### Step 2: Setup and activate venv
### Step 2: Setup pipenv
To set up the pipenv environment and install dependencies, run the following command:

```bash
python -m venv venv # first time only
source venv/bin/activate
```bash
pipenv install
```

### Step 3: Install Dependencies
To install the required Python dependencies, run the following command:
This will create a `Pipfile` and `Pipfile.lock` if they don't exist and install all required dependencies.

### Step 3: Activate pipenv Environment
To activate the pipenv environment, use:

```bash
pip install -r requirements.txt
pipenv shell
```

### Step 4: Configure the Database
Expand Down Expand Up @@ -115,4 +117,4 @@ In addition to the ones mentioned above, there are many other commands available
python manage.py help
```

Using this, you can get insights into the various options available in `manage.py` and how to use them to manage your Django application.
Using this, you can get insights into the various options available in `manage.py` and how to use them to manage your Django application.

0 comments on commit c3aff61

Please sign in to comment.