Answered step by step
Verified Expert Solution
Link Copied!

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 1.0.3. 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 /bin/bash at the top of your Makefile (SHELL=/bin/bash)
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 __pycache__(if it exists; you can use the command py3clean . 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions