README 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. About INET Tutorials
  2. ====================
  3. This repository is normally checked out as a submodule of the
  4. INET Framework repository. In addition to containing the tutorial's
  5. simulations themselves (NED files, ini files and all), this repository
  6. also doubles as a GitHub Pages based web site that is made available
  7. online at https://inet.omnetpp.org/inet-tutorials.
  8. Web pages in the repo are in Markdown format (.md). One way to view
  9. them in the browser is to install a Markdown plugin into the browser;
  10. there are such plugins both for Chrome and for Firefox. Another way
  11. is to run the Jekyll-based GitHub Pages infrastructure on your local
  12. system, and connect to it from your browser -- this is the recommended
  13. way if you'd like to contribute.
  14. To install a local GitHub Pages development environment:
  15. First, make sure you have a working Docker environment. If you are
  16. on Ubuntu, DO NOT INSTALL Docker from the default repository, as it
  17. is out of date. Rather, follow the instructions on docker.com,
  18. https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
  19. Then, add yourself into the docker group. That will allow you to run
  20. docker commands without sudo. (Replace YOU with your login name.)
  21. Note that you may need to log out and log in again for the changes
  22. to take effect.
  23. $ sudo usermod -a -G docker YOU
  24. Then, pull the preconfigured GitHub Pages docker image:
  25. $ docker pull madduci/docker-github-pages
  26. Then run the jekyll server with the following command (replace ~/inet/
  27. with the actual location of your INET repo):
  28. $ ./start_local_server
  29. Open your browser on http://localhost:4000/inet-tutorials/
  30. In case of problems, contact us.
  31. --
  32. Andras Varga