Open Edx install step by step

Open Edx install step by step

Step1: shell

(which docker-compose)

 export PATH=$HOME/.pyenv/shims/docker-compose:$PATH

 export OPENEDX_RELEASE=hawthorn.master

 DEVSTACK_WORKSPACE=$HOME/Documents/OpendEdxProject

docker memory setting to 4G

step2:

1)git clone https://github.com/edx/devstack

2)Install the requirements inside of a [Python virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/#lower-level-virtualenv).

3)cd devstack

4)make requirements

5)git checkout open-release/hawthorn.master

6)make dev.checkout

7)make dev.clone

8)make dev.provision

Reference:

https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/installation/install_devstack.html#install-devstack

https://github.com/edx/devstack

Error:

Q:Build failed running pavelib.assets.update_assets: Subprocess return code: 137

A:docker memory setting to 4G

Q:fatal: Not a git repository (or any of the parent directories): .git
make: *** [dev.clone] Error 128

git checkout master
make dev.clone
git checkout open-release/hawthorn.master
make dev.clone
make dev.provision

Q:OSError: [Errno 2] No such file or directory
make: *** [dev.provision.run] Error 1

repeat the following until you get past the error.

make stop
make dev.provision

你可能感兴趣的:(Open Edx install step by step)