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

integrated Django into the Python template #14

Merged
merged 4 commits into from
May 17, 2020
Merged

Conversation

AnthoniaOkafor
Copy link
Collaborator

@AnthoniaOkafor AnthoniaOkafor commented May 13, 2020

Description

This issue is to integrate Django into the Python template in this repository. Members can now clone the repository before creating PR.
First step: In the src folder of the parent directory (i.e Team-102-GoodHealthAndWellBeing directory), create a virtual environment wrapper with this command
pip install virtualenvwrapper-win

Second step: Create the virtual environment with this command
mkvirtualenv yourprojectenv
Note: The name 'yourprojectenv' should be changed to a name of your choice.

Third: Activate the virtual environment with this command:
workon yourprojectenv

Fourth: With the virtual environment active, run this command to install the dependencies
pip install -r requirements.txt.

Dependencies for this change:
asgiref==3.2.7
Django==3.0.6
psycopg2==2.8.5
pytz==2020.1
sqlparse==0.3.1
These dependencies can be found in requirements.txt file.

Fixes #(issue number 13) #13 #3

How Has This Been Tested?

Checklist:

  • [x ] My code follows the style guidelines of this project
  • [x ] I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • [ x] I have added necessary inline code documentation
  • I have added tests that prove my fix is effective and that this feature works
  • New and existing unit tests pass locally with my changes

Copy link
Collaborator

@happyjosh-tech happyjosh-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Django well integrated

@happyjosh-tech happyjosh-tech merged commit fddbc77 into develop May 17, 2020
@happyjosh-tech happyjosh-tech linked an issue May 19, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Django template to the repository
2 participants