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.

README.md 1.0KB

7 years ago
7 years ago
7 years ago
1234567891011121314151617181920212223242526272829303132333435363738
  1. # MMPC2
  2. Modified version of mmpc2.
  3. ## Installation
  4. Install git, a recent version of node, and npm, clone the repository, run `npm
  5. install`, copy `conf.json.example` to `conf.json`, and run `node server.js`.
  6. git clone https://github.com/mortie/mmpc2.git
  7. cd mmpc2
  8. npm install
  9. cp conf.json.example
  10. node server.js
  11. ### Getting a recent version of node.js
  12. Many distros ship old versions of node, which won't work with MMPC2. To fix
  13. this, install node.js and npm (`sudo apt-get install nodejs-legacy npm` on
  14. Debian and Ubuntu), then install `n` and install a new version of node with
  15. that.
  16. sudo apt-get install nodejs-legacy npm
  17. sudo npm install -g n
  18. sudo n stable
  19. With rolling release distros, the version of node in the package manager will
  20. generally be new enough - e.g `sudo pacman -S npm node` in arch is enough.
  21. ## Configuration
  22. `conf.json` contains a couple of configuration options (assuming you copied
  23. `conf.json.example` to `conf.json`). These are:
  24. {
  25. "tmpdir": String. The directory to store temporary files in.
  26. Default: "tmp"
  27. }