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.2KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. **Notes**:
  2. * Pelican site has been replaced with custom solution by 16 April 2019
  3. * The old Pelican site is now kept solely for historical reasons
  4. # Overview
  5. This is an internal document describing how to update
  6. [Opensource Game Studio website][opengamestudio]
  7. powered by [Pelican][pelican].
  8. # Installation
  9. Install Pelican with the following command:
  10. ```
  11. sudo apt install pelican
  12. ```
  13. # Preview
  14. To preview results locally:
  15. * generate local copy with the following commands:
  16. ```
  17. cd pelican
  18. pelican -s pelicanconf.py
  19. ```
  20. * serve the local copy with the following commands:
  21. ```
  22. cd output
  23. python -m SimpleHTTPServer
  24. ```
  25. The preview should now be available at [http://localhost:8000][preview].
  26. # Publishing
  27. To publish new content:
  28. * generate public site with the following commands:
  29. ```
  30. cd pelican
  31. pelican -s publishconf.py
  32. ```
  33. * upload it to GitHub with the following commands:
  34. ```
  35. git add .
  36. git push
  37. ```
  38. The public site should now be available at
  39. [Opensource Game Studio website][opengamestudio].
  40. [opengamestudio]: http://opengamestudio.org
  41. [pelican]: http://getpelican.com
  42. [preview]: http://localhost:8000