Systers, an AnitaB.org community

Clone, Setup and Run the Mentorship Backend code (Mentorship-Backend)

Prerequisites:

  1. Install Python 3.x - (How to)
  2. Install Git - (How to)

Steps:

  1. Open the Mentorship Backend project repository on GitHub
  2. Create a Fork of the repo using the Fork button
  3. Clone it to your local development system and ensure that the gci-dev branch is active
  4. Follow all steps as described in the Run app section of the Readme
  5. Run the tests as described in the Run tests section of the Readme [ Take Screenshot #1 ]
  6. Before running the app the kindly create a new temporary email, with the low security enabled. You will be reusing it for all future coding/debugging/testing steps. And user it's USERNAME and PASSWORD to set the MAIL_DEFAULT environment variables.
  7. Run the run.py file as described in Run app section.
  8. Open the Swagger UI of the backend (should normally be here: http://127.0.0.1:5000) and make a POST request to the /register route under Users section with a fictitious name and temporary email. [Take Screenshot #2].

Resources:

Work Submission:

Share Screenshot #1 and Screenshot #2 by uploading them in a Google Drive folder / Pastebin Images and sharing a link which is publicly accessible.

The shared links to screenshots should remain public till end of GCI 2019.

Task tags

  • python
  • setup
  • git
  • backend
  • github

Students who completed this task

ns0631, asawesome07, smsingh, i_maier, Anya Smirdina, _daksha_, BartekPacia

Task type

  • code Code
  • done_all Quality Assurance

Level

Beginner
close

2019