installation.rst 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. AToMPM - A Tool for Multi-Paradigm Modelling
  2. ============================================
  3. AToMPM is an open-source research framework for generating domain-specific modeling web-based tools that run on the cloud. AToMPM facilitates designing DSML environments, performing model transformations, and manipulating and managing models. It runs completely over the web, making it independent from any operating system, platform, or device it may execute on. AToMPM follows the philosophy of modeling everything explicitly, at the right level of abstraction(s), using the most appropriate formalism(s) and process(es), as it is completely modeled by itself.
  4. Portable Zip File
  5. -----------------
  6. A portable .zip version of AToMPM is available for Windows. This portable version is intended for those users with limited installation capabilities, such that they can skip these installation instructions.
  7. Please check https://github.com/AToMPM/atompm/releases for the newest release, and download the `atompm-portable.zip` file.
  8. To run the portable version, execute `AToMPM.bat`.
  9. Installation
  10. ------------
  11. To install AToMPM, follow these steps:
  12. 1. Download and install the latest Python
  13. * This can be either Python 2.7.X or 3.X.X, but 3.X.X is strongly recommended
  14. * Use a package manager on Linux
  15. * Or visit http://python.org/download/
  16. 2. Download and install python-igraph
  17. * Use the pip package manager (comes with Python)
  18. * For Python2: `pip install python-igraph`
  19. * For Python3: `pip3 install python-igraph`
  20. * For Windows, you may need to install the compiled igraph core
  21. * `http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph`
  22. 3. Download and install six
  23. * Use the pip package manager (comes with Python)
  24. * For Python2: `pip install six`
  25. * For Python3: `pip3 install six`
  26. 4. Download and install node.js
  27. * Required version: >= 8.0
  28. * Use a package manager on Linux
  29. * Or visit https://nodejs.org/en/download/
  30. 5. Download and unzip the source files for the newest AToMPM release from https://github.com/AToMPM/atompm/releases
  31. 6. In that unzipped AToMPM folder, run the command `npm install`
  32. * If you do not need to run tests on AToMPM, you can run `npm install --production`
  33. Usage
  34. -----
  35. The commands below are for starting the AToMPM server. Note that the default port is 8124.
  36. Once started, the server can be connected to by accessing http://localhost:8124/atompm in either the Firefox or Chrome browsers.
  37. *Windows*
  38. To run AToMPM on Windows, execute the `run.bat` script inside of the main AToMPM folder.
  39. *Mac or Linux*
  40. * Execute these commands in different terminals
  41. 1. Execute `node httpwsd.js` in the main AToMPM folder
  42. 2. Execute `python mt\main.py` in the main AToMPM folder
  43. 3. Open a browser (Firefox or Chrome) and navigate to http://localhost:8124/atompm
  44. * The above steps are automated by the `run_AToMPM_local.sh` script
  45. Documentation
  46. -------------
  47. Documentation for AToMPM can be found here: https://atompm.readthedocs.io/en/latest/
  48. Bug Reporting/Feedback
  49. ----------------------
  50. Please create an issue for your bug or feedback here: https://github.com/AToMPM/atompm/issues
  51. Testing
  52. -------
  53. To run tests on AToMPM, run 'npm test'. Ensure that your resolution of your screen is set quite high, as elements cannot be placed by the script off-screen.
  54. LICENSING
  55. ---------
  56. The AToMPM project is licensed under the LGPL as stated in COPYING.lesser.
  57. AToMPM is copyright of the AToMPM team, which includes Raphael Mannadiar, Conner Hansen, Eugene Syriani, Hans Vangheluwe, Simon Van Mierlo, Huseyin Ergin, Jonathan Corley, Yentl Van Tendeloo, Vasco Sousa, and Bentley James Oakes