From 7b7022ba548d7b75f96931ecf7c9b480a3e47c27 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 25 Nov 2022 17:06:11 -0500 Subject: [PATCH] feat: Add a target for ubuntu requirements. I found this useful because then I can run some basic dev commands locally instead of needing a full container environment just to run pylint or other basic dev tasks. Co-authored-by: Kyle McCormick --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index b4bf4d26aa..27f9c21331 100644 --- a/Makefile +++ b/Makefile @@ -174,3 +174,10 @@ docker_push: docker_tag docker_auth ## push to docker hub docker push "openedx/cms:${GITHUB_SHA}" docker push "openedx/cms-dev:latest" docker push "openedx/cms-dev:${GITHUB_SHA}" + +# WARNING (EXPERIMENTAL): +# This installs the Ubuntu requirements necessary to make `pip install` and some other basic +# dev commands to pass. This is not necessarily everything needed to get a working edx-platform. +# Part of https://github.com/openedx/wg-developer-experience/issues/136 +ubuntu-requirements: ## Install ubuntu 22.04 system packages needed for `pip install` to work on ubuntu. + sudo apt install libmysqlclient-dev libxmlsec1-dev