Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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