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
Steps:
- Find the installation and setup steps for the project in the README.md of the repository.
- 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
- Display congratulations message if the installation succeeds, else display errors.
Resources:
- If you need help or get lost, post a response to our questions topic in our #gci stream.
- Systers Mentorship Backend GitHub Repository
- How to Clone a GitHub repository
- Setup and Run section of the Mentorship Backend repository.
- Hint - you can take help on how to write installation script for mentorship backend from deploy.sh
Work Submission:
Create a Pull Request to the issue linked with this task.
Task tags
Students who completed this task
_daksha_, BartekPacia, HardikJH