aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-19 20:54:57 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-19 20:54:57 +0000
commita40fbe8899e7fda24e352ef7c3ffd9bfb0005196 (patch)
treece74f966a9177773274326787a1b7dbf38968cf6
parenta39e47202c108453cac8402b810cc0029c21c1c9 (diff)
parent767374fb31f8d993cc75e2e8c79e9eb3c57ee555 (diff)
Merge branch 'master' of ssh://github.com/tech-server/tgmanage
-rw-r--r--nms/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/nms/README.md b/nms/README.md
index 4d310cb..107b630 100644
--- a/nms/README.md
+++ b/nms/README.md
@@ -2,17 +2,19 @@
## Installation
- fetch data from tg server: `scp ${USER}@wat.gathering.org:/root/nms-2015.sql.gz .`
+- Rename the nms dump so we can use it later: `mv nms-2015.sql.gz nms-dump.sql.gz`
- Do the Debian install(or whatever OS you're on.): https://docs.docker.com/engine/installation/linux/debian/ And make sure that your user is in the docker group, so that you can run docker without sudo.
- Clone repository: `git clone git@github.com:tech-server/tgmanage.git`
+
- run `./makedockerfiles.sh`, which creates the docker image files, and builds
them.
- Start database node: `docker run -v /sys/fs/cgroup:/sys/fs/cgroup:ro --privileged --rm -ti --name=db nms-db`
- Start front end node: ` docker run -v /sys/fs/cgroup:/sys/fs/cgroup:ro --privileged --rm -ti --name=front --link=db:db nms-front `
-- Find IP's: `docker inspect front`, `docker instpect db`
+- Find IP's: `docker inspect front`, `docker inspect db`
- Start a shell in a container: `docker exec front /bin/bash`
- Open localhost:PORT in browser to start testing.