ONSdigital / ons-python-template

A basic Python template to jump start a Python project
MIT License
3 stars 2 forks source link

run command not defined in makefile #69

Open delterr opened 1 week ago

delterr commented 1 week ago

Summary

Application doesn't run after executing make run

Steps to Reproduce

execute make run in the terminal

Expected Behavior

Supposed to run the application

Actual Behavior

returns error make: *** No rule to make target `run'. Stop. There isn't a rule in the makefile that determines what commands should execute after make run is executed

evisos-ons commented 1 week ago

Missing Code in Makefile

As the README states that make run is a viable command, then it should be included within the Makefile with either a:

Code to add to Makefile

.PHONY: run
run:
 poetry run python <project_template_module(A) | main.py(B)>