diff --git a/README.rst b/README.rst index 97ff2c19a5..e225215708 100644 --- a/README.rst +++ b/README.rst @@ -502,6 +502,8 @@ meant to be user-facing, the "homepage" may be the API root. +---------------------+-------------------------------------+ | Service | URL | +=====================+=====================================+ +| Panel Frontend | http://localhost:3030/ | ++---------------------+-------------------------------------+ | Credentials | http://localhost:18150/api/v2/ | +---------------------+-------------------------------------+ | Catalog/Discovery | http://localhost:18381/api-docs/ | diff --git a/docker-compose-host.yml b/docker-compose-host.yml index 1ccd85b8dd..e79bd76c5c 100644 --- a/docker-compose-host.yml +++ b/docker-compose-host.yml @@ -41,11 +41,15 @@ services: volumes: - ${DEVSTACK_WORKSPACE}/edly-wp-plugin:/var/www/html/wp-content/plugins/edly-wp-plugin:cached - ${DEVSTACK_WORKSPACE}/edly-wp-theme:/var/www/html/wp-content/themes/edly-wp-theme:cached + panel_frontend: + volumes: + - ${DEVSTACK_WORKSPACE}/edly-panel-frontend:/var/www/html/edly-panel-frontend:cached + - panel_node_modules:/var/www/html/edly-panel-frontend/node_modules - volumes: credentials_node_modules: discovery_node_modules: ecommerce_node_modules: edxapp_node_modules: gradebook_node_modules: + panel_node_modules: diff --git a/docker-compose-sync.yml b/docker-compose-sync.yml index 1cf7c80713..9a1c11b2c8 100644 --- a/docker-compose-sync.yml +++ b/docker-compose-sync.yml @@ -23,6 +23,9 @@ services: volumes: - wordpress-sync:/var/www/html/wp-content/plugins/edly-wp-plugin:nocopy - wordpress-sync:/var/www/html/wp-content/themes/edly-wp-theme:nocopy + panel_frontend: + volumes: + - panel_frontend-sync:/var/www/html/edly-panel-frontend:cached volumes: credentials-sync: @@ -37,3 +40,5 @@ volumes: external: true wordpress-sync: external: true + panel_frontend-sync: + external: true diff --git a/docker-compose.yml b/docker-compose.yml index 917c02fb04..fa7de0f9ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -254,7 +254,15 @@ services: - mysql ports: - "8888:80" - + + panel_frontend: + command: bash -c 'npm install && npm run start' + container_name: edx.devstack.panel_frontend + working_dir: '/var/www/html/edly-panel-frontend' + image: node:10 + ports: + - "3030:3030" + volumes: discovery_assets: edxapp_lms_assets: diff --git a/docker-sync.yml b/docker-sync.yml index 5148558b4c..8f26176543 100644 --- a/docker-sync.yml +++ b/docker-sync.yml @@ -34,4 +34,9 @@ syncs: host_disk_mount_mode: 'cached' src: '../edly-wp-plugin/' src: '../edly-wp-theme/' - sync_excludes: [ '.git', '.idea', '.sass-cache', 'vendor'] \ No newline at end of file + sync_excludes: [ '.git', '.idea', '.sass-cache', 'vendor'] + + panel_frontend-sync: + host_disk_mount_mode: 'cached' + src: '../edly-panel-frontend/' + sync_excludes: ['.idea'] diff --git a/repo.sh b/repo.sh index a48d7568c0..1ddbff03b2 100755 --- a/repo.sh +++ b/repo.sh @@ -40,6 +40,7 @@ edly_repos=( "https://github.com/edly-io/edly-wp-plugin.git" "https://github.com/edly-io/edly-wp-theme.git" "https://github.com/edly-io/edly-edx-themes.git" + "https://github.com/edly-io/edly-panel-frontend.git" ) @@ -111,7 +112,7 @@ _checkout_and_update_branch () git fetch origin ${OPENEDX_GIT_BRANCH}:${OPENEDX_GIT_BRANCH} git checkout ${OPENEDX_GIT_BRANCH} fi - find . -name '*.pyc' -not -path './.git/*' -delete + find . -name '*.pyc' -not -path './.git/*' -delete } clone ()