You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
471 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. ircd-js
  2. ===
  3. A simple IRCd project to provide an IRCd.
  4. Installing dependencies
  5. ===
  6. ```bash
  7. # Installing docker on (latest) Ubuntu
  8. sudo apt-get install docker.io
  9. ```
  10. Running
  11. ===
  12. Staring a NodeJS container:
  13. ```bash
  14. docker run -v $PWD:/app --workdir /app -p 127.0.0.1:6667:6667 --rm -it node:10 /bin/bash
  15. ```
  16. Commands to run inside the container:
  17. ```bash
  18. # Install all dev dependencies
  19. npm install
  20. # Run mocha tests
  21. npm test
  22. # Start the index.js
  23. node index.js
  24. ```