Skip to content

Commit 71f36e0

Browse files
authored
Merge pull request #12 from edly-io/zub/add-local-ssh-folder-for-private-edly-repos
add local ssh folder for accessing private edly repos
2 parents c8f7227 + e8e1563 commit 71f36e0

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

README.rst

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ below, run the following sequence of commands if you want to use the most up-to-
5959
6060
This will stop any running devstack containers, pull the latest images, and then start all of the devstack containers.
6161

62+
Get You SSh Keys Added to Edly
63+
------------------------------
64+
65+
Please get access to edly's organization prior to setting up edly devstack.
66+
67+
Basically we need ssh keys which are enabled to access the edly's private repos.
68+
Since at Edly we individually give permissions to our developers so avoid getting access denied error,
69+
we now mount the default directory of ssh keys on Edly developers system, present at ``$HOME/.ssh:/root/.ssh``
70+
71+
This way a developer can install private edly apps,
72+
e.g. `pip install git+ssh://[email protected]/edly-io/edly-panel-edx-app.git#egg=edly-panel-app` directly from ``LMS Shell``.
73+
74+
6275
Getting Started
6376
---------------
6477

@@ -290,34 +303,34 @@ To setup the single sing on(SSO) on WordPress. Follow the below steps
290303
.. code:: sh
291304
292305
make wordpress-shell
293-
306+
294307
2. Open `wp-config.php` file
295308

296309
.. code:: sh
297310
298311
apt update
299-
312+
300313
apt install nano
301-
314+
302315
nano wp-config.php
303-
304316
305-
3. Past the below code and save file
317+
318+
3. Past the below code and save file
306319

307320
.. code:: sh
308321
309322
define( 'EDLY_SSO_CLIENT_ID', 'edly-wordpress-key' );
310-
323+
311324
define( 'EDLY_SSO_CLIENT_SECRET', 'edly-wordpress-secret' );
312-
325+
313326
define( 'EDLY_SSO_AUTHORIZE_ENDPOINT', 'http://edx.devstack.lms:18000/oauth2/authorize' );
314-
327+
315328
define( 'EDLY_SSO_ACCESS_TOKEN_URL', 'http://edx.devstack.lms:18000/oauth2/access_token' );
316-
329+
317330
define( 'EDLY_SSO_SCOPE', 'openid+profile+email+permissions' );
318-
331+
319332
define( 'EDLY_SSO_REDIRECT_URL', 'http://localhost:8888' );
320-
333+
321334
define( 'EDLY_SOCIAL_AUTH_EDX_OIDC_ISSUER', 'http://localhost:18000/oauth2' );
322335
323336

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ services:
162162
volumes:
163163
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
164164
- ../src/edly-edx-themes/st-lutherx:/edx/app/edxapp/edx-platform/themes/st-lutherx
165+
- $HOME/.ssh:/root/.ssh
165166

166167
edx_notes_api:
167168
command: bash -c 'source /edx/app/edx_notes_api/edx_notes_api_env && while true; do python /edx/app/edx_notes_api/edx_notes_api/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 2; done'

0 commit comments

Comments
 (0)