This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8de9296
commit 7ccb0b2
Showing
64 changed files
with
2,697 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
========================== | ||
Installation with Docker | ||
========================== | ||
|
||
This chapter describes how to install the software on a Desktop computer with | ||
Docker. | ||
|
||
.. note:: | ||
|
||
These instructions are tested only on Linux. Feedback for Windows and Mac is welcome. | ||
|
||
1. Install Docker. | ||
|
||
- For Windows see: https://docs.docker.com/docker-for-windows/install/ | ||
|
||
- For Mac see: https://docs.docker.com/docker-for-mac/install/ | ||
|
||
- For Debian Linux see: https://docs.docker.com/compose/install/ | ||
|
||
2. Create a new directory and change into it. | ||
|
||
3. Download https://raw.githubusercontent.com/cceh/ntg/master/docker/docker-compose.yml | ||
|
||
4. Run: | ||
|
||
.. code-block:: shell | ||
$ docker-compose up | ||
This will download the docker containers and initialize the database. This | ||
make take some time depending on your internet connection speed and your PC. | ||
|
||
5. Test the installation. | ||
Point your browser to the url: http://localhost:5000/acts/ph4/ | ||
|
||
Use the application. | ||
|
||
6. When satisfied, hit :kbd:`Ctrl+C` to stop the docker service. | ||
|
||
The Docker service is now installed. | ||
|
||
|
||
============================ | ||
Running the Docker service | ||
============================ | ||
|
||
Any time you want to run the docker service say: | ||
|
||
.. code-block:: shell | ||
$ docker-compose start | ||
and to stop it say: | ||
|
||
.. code-block:: shell | ||
$ docker-compose stop | ||
To use the application point your browser to http://localhost:5000/acts/ph4/ | ||
while the service is running. | ||
|
||
|
||
====== | ||
CBGM | ||
====== | ||
|
||
To run the CBGM: | ||
|
||
.. code-block:: shell | ||
$ docker-compose run ntg-app-server cbgm |
Oops, something went wrong.