Systers, an AnitaB.org community

[ Mentorship - Backend ] Create an Installation script for Mentorship Backend

Currently the installation and setup of Mentorship Backend is done manually. It would be great to have a single script which could download the code and setup the various configurations required automatically.

Pre-requisites

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

Steps:

  1. Find the installation and setup steps for the project in the README.md of the repository.
  2. Create a shell script named install.sh (for Linux/Mac) or install.bat (for Windows) which would do the following when run -
    • Clone the repository to the present working directory of the running script (if not already inside one, which will mostly be the case )
    • Perform all the required setup for the repository to run. Take any variable inputs as mandatory command line arguments, without which the script will produce an error, and prompt the user to enter the values.
    • Perform unit testing on the installation and display its results
  3. Display congratulations message if the installation succeeds, else display errors.

Resources:

Work Submission:

Create a Pull Request to the issue linked with this task.

Task tags

  • mentorship-backend
  • setup
  • shell-scripting
  • install
  • deployment

Students who completed this task

_daksha_, BartekPacia, HardikJH

Task type

  • code Code
close

2019