Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Objective This activity will give you the chance to familiarize yourself with an automated build tool ( Make ) . Description For this assignment, you
Objective
This activity will give you the chance to familiarize yourself with an automated build tool Make
Description
For this assignment, you should perform the following steps:
Implement the simple Hello World Flask app found on the README for Flask using Flask Also install scipys latest version we wont use this for anything, but I just want to verify you have done so correctly in your requirements.txt
Create a Makefile inside your repository which contains the following targets and functionality:
First, note youll have to set the SHELL variable to binbash at the top of your Makefile SHELLbinbash
setup: creates a virtual environment, activates it and installs all packages listed in the requirements.txt file in the directory
run: runs the Hello World example Flask app
clean: deletes the virtual environments folder, as well as the folder pycacheif it exists; you can use the command pyclean for this
Create a gitignore file to ensure the folders for the virtual environment and pycache are not put under version control.
Push your updated repository with the four new files the Flask app, gitignore, Makefile, and requirements.txt
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started