7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-29 12:20:49 +00:00

Rename "singleserver" with "local" deployment

This commit is contained in:
Régis Behmo 2018-12-26 18:20:53 +01:00 committed by Régis Behmo
parent f2c476f954
commit a81593f6a8
11 changed files with 18 additions and 13 deletions

View File

@ -23,18 +23,18 @@ substitute: config.json
regis/openedx-configurator:hawthorn \
configurator substitute /openedx/templates/ /openedx/output/
singleserver: upgrade-to-tutor ## Configure and run a ready-to-go Open edX platform
$(MAKE) -C deploy/singleserver all
local: upgrade-to-tutor ## Configure and run a ready-to-go Open edX platform
$(MAKE) -C deploy/local all
stop: ## Stop all single server services
$(MAKE) -C deploy/singleserver stop
$(MAKE) -C deploy/local stop
android: upgrade-to-tutor ## Configure and build a development Android app
cd android/ && make all
travis: upgrade-to-tutor
cd build && make build
cd deploy/singleserver \
cd deploy/local \
&& make configure SILENT=1 CONFIGURE_OPTS="-e SETTING_ACTIVATE_NOTES=1 -e SETTING_ACTIVATE_XQUEUE=1" \
&& make databases \
&& make assets

View File

@ -26,7 +26,7 @@ Quickstart
git clone https://github.com/regisb/openedx-docker
cd openedx-docker/
make singleserver
make local
Documentation
-------------

View File

@ -79,7 +79,7 @@ Note that your release must be a fork of Hawthorn in order to work. Otherwise, y
Running a different ``openedx`` Docker image
--------------------------------------------
By default, Tutor runs the `regis/openedx <https://hub.docker.com/r/regis/openedx/>`_ docker image from Docker Hub. If you have an account on `hub.docker.com <https://hub.docker.com>`_ or you have a private image registry, you can build your image and push it to your registry. Then add the following content to the ``deploy/singleserver/.env`` file::
By default, Tutor runs the `regis/openedx <https://hub.docker.com/r/regis/openedx/>`_ docker image from Docker Hub. If you have an account on `hub.docker.com <https://hub.docker.com>`_ or you have a private image registry, you can build your image and push it to your registry. Then add the following content to the ``deploy/local/.env`` file::
OPENEDX_DOCKER_IMAGE=myusername/myimage:mytag

View File

@ -37,7 +37,8 @@ For more advanced usage of Tutor, please refer to the following sections.
quickstart
requirements
step
local
k8s
options
customise
dev

View File

@ -1,11 +1,15 @@
Step-by-step install
====================
.. _local:
The following commands should be run inside the ``deploy/singlerver`` folder::
Local deployment
================
cd deploy/singleserver
This method is for deploying Open edX locally on a single server. Docker images are orchestrated with `docker-compose <https://docs.docker.com/compose/overview/>`_.
You can use these individual commands instead of running the full installation with ``make all``.
The following commands should be run inside the ``deploy/local`` folder::
cd deploy/local
You can use these commands individually instead of running the full installation with ``make all``.
Configure
---------

View File

@ -7,7 +7,7 @@ Quickstart
git clone https://github.com/regisb/openedx-docker
cd openedx-docker/
make singleserver
make local
**That's it?**