From a80271ec20af85a403d9f3b8e04ada00d1fbc019 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Wed, 17 Jul 2019 22:53:31 +0200 Subject: [PATCH] Improve install instructions --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a5a34a..5254911 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,26 @@ ircd-js A simple IRCd project to provide an IRCd. + +Installing dependencies +=== + +```bash +# Installing docker on (latest) Ubuntu +sudo apt-get install docker.io +``` + Running === +Staring a NodeJS container: + +```bash +docker run -v $PWD:/app --workdir /app -p 127.0.0.1:6667:6667 --rm -it node:10 /bin/bash +``` + +Commands to run inside the container: + ```bash # Install all dev dependencies npm install @@ -14,5 +31,5 @@ npm install npm test # Start the index.js -npm start +node index.js ```