You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-28Lines changed: 14 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,50 +23,36 @@ All of the services can be run by following the steps below. Note that since we
23
23
configure Docker with a sufficient amount of resources. Our testing found that [configuring Docker for Mac](https://docs.docker.com/docker-for-mac/#/advanced)
24
24
with 2 CPUs and 4GB of memory works well.
25
25
26
-
1. Create a Python 3 `virtualenv`. If you're using [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io
27
-
), you can do this with:
26
+
1. The Docker Compose file mounts a host volume for each service's executing code. The host directory is expected to be
27
+
a sibling of this directory. For example, if this repo is cloned to `~/workspace/devstack`, host volumes will be
28
+
expected in `~/workspace/course-discovery`, `~/workspace/ecommerce`, etc. These repos can be cloned with the command
29
+
below.
28
30
29
31
```
30
-
$ mkvirtualenv devstack --python=$(which python3)
32
+
$ make clone
31
33
```
32
34
33
-
Source the virtualenv and install requirements:
35
+
2. Run the provision command, if you haven't already, to configure the various services with superusers (for
36
+
development without the auth service) and tenants (for multi-tenancy).
37
+
38
+
The username and password for the superusers are both "edx". You can access the services directly via Django admin
39
+
at the `/admin/` path, or login via single sign-on at `/login/`.
34
40
35
41
```
36
-
$ workon devstack
37
-
(devstack)$ make requirements
42
+
$ make devstack.provision
38
43
```
39
44
40
-
2. The Docker Compose file mounts a host volume for each service's executing code. The host directory is expected to be
41
-
a sibling of this directory. For example, if this repo is cloned to `~/workspace/devstack`, host volumes will be
42
-
expected in `~/workspace/course-discovery`, `~/workspace/ecommerce`, etc. These repos can be cloned with the command
43
-
below.
45
+
3. Start the services.
44
46
45
47
```
46
-
(devstack)$ make clone
48
+
$ make devstack.start
47
49
```
48
50
49
-
3. Run the provision command, if you haven't already, to configure the various services with superusers (for
50
-
development without the auth service) and tenants (for multi-tenancy).
51
-
52
-
The username and password for the superusers are both "edx". You can access the services directly via Django admin
53
-
at the `/admin/` path, or login via single sign-on at `/login/`.
54
-
55
-
```
56
-
(devstack)$ make devstack.provision
57
-
```
58
-
59
-
4. Start the services.
60
-
61
-
```
62
-
(devstack)$ make devstack.start
63
-
```
64
-
65
51
After the services have started, if you need shell access to one of the services, run `make devstack.open.<service>`.
66
52
For example to access the Catalog/Course Discovery Service, you can run:
0 commit comments