Skip to content

Auto install all Python packages in src/edxapp-pip#42

Merged
OmarIthawi merged 2 commits intohawthornfrom
omar/auto-pip-install
Apr 3, 2020
Merged

Auto install all Python packages in src/edxapp-pip#42
OmarIthawi merged 2 commits intohawthornfrom
omar/auto-pip-install

Conversation

@OmarIthawi
Copy link
Copy Markdown

Because of the statelessness of Docker containers, the devstack will forget any
pip install you'd do after restart.

Knowing that most of the packages like Figures and Course Access Groups are normally
need to survive such restarts, this feature only works on LMS/Studio.

The $ make tahoe.provision command will install all packages located inside
the src/edxapp-pip directory. There's no need to run this command manually as it will
run on every $ make dev.up.

For example to make Course Access Groups installed on every devstack startup:

$ cd devstack/../src/edxapp-pip/
$ git clone git@github.com:appsembler/course-access-groups.git
$ cd ../../devstack
$ make dev.up  # Now the repository will always be installed on every startup

@OmarIthawi OmarIthawi merged commit 2bed13c into hawthorn Apr 3, 2020
@OmarIthawi OmarIthawi deleted the omar/auto-pip-install branch April 3, 2020 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants