diff --git a/Readme.md b/Readme.md index 3ed4363..67565ea 100644 --- a/Readme.md +++ b/Readme.md @@ -16,6 +16,8 @@ A framework for launching new Django Rest Framework projects quickly. Comes with 1. Make sure Python 3.7x and Pipenv are already installed. [See here for help](https://djangoforbeginners.com/initial-setup/). 2. Clone the repo and configure the virtual environment: +Using Pipenv: + ``` $ git clone https://github.com/wsvincent/drfx.git $ cd drfx @@ -23,6 +25,15 @@ $ pipenv install $ pipenv shell ``` +Using venv +``` +$ git clone https://github.com/wsvincent/drfx.git +$ cd drfx +$ python -m venv drfx +$ source drfx/bin/activate +$ pip install -r requirements.txt +``` + 3. Set up the initial migration for our custom user models in users and build the database. ``` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..db5990a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +django~=3.1.0 +djangorestframework~=3.12.0 +django-rest-auth~=0.9 +django-allauth==0.42.0