community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r1745290 - /comdev/tools/comdev-deployment.md
Date Tue, 24 May 2016 00:11:08 GMT
Author: rgardler
Date: Tue May 24 00:11:08 2016
New Revision: 1745290

URL: http://svn.apache.org/viewvc?rev=1745290&view=rev
Log:
rough notes on how to start/restart the events application

Added:
    comdev/tools/comdev-deployment.md

Added: comdev/tools/comdev-deployment.md
URL: http://svn.apache.org/viewvc/comdev/tools/comdev-deployment.md?rev=1745290&view=auto
==============================================================================
--- comdev/tools/comdev-deployment.md (added)
+++ comdev/tools/comdev-deployment.md Tue May 24 00:11:08 2016
@@ -0,0 +1,38 @@
+This application is hosted as a Docker container on
+comdev1-us-west.apache.org. This document is a guide to maintaining
+this installation.
+
+# Logging into the machine
+
+If you don't already have access to this VM you will need to request
+it from the infra team (see
+[example request[(https://issues.apache.org/jira/browse/INFRA-10018))
+
+You'll need to ensure you have valid SSH keys setup on your box to connect to the VM. To
set your SSH keys see the [Apache self service app](https://id.apache.org/).
+
+We use OPIE (One-time Passwords In Everything) for accessing this VM. See the infra [doc
on OPIE](https://reference.apache.org/committer/opie)
+for more details.
+
+# Checking the status of the application
+
+```
+sudo docker ps
+```
+
+You should see something like:
+
+```
+CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS
             PORTS                    NAMES
+0fba524ac8dc        meetups             "python manage.py ru   9 months ago        Up 5 seconds
       0.0.0.0:80->8000/tcp     meetups_app
+7b038a065d0a        postgres            "/docker-entrypoint.   9 months ago        Up 9 months
        0.0.0.0:5432->5432/tcp   meetups_db
+```
+
+# Staring the application
+
+See scripts/deploy.sh
+
+Note, that if the containers were previously started, but for some
+reason they have stopped you may need to restart them sith `docker start NAME`.
+
+
+



Mime
View raw message