mostly filebased Content Presentation System
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 5 roky
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # freaCMS
  2. mostly filebased Content Presentation System
  3. ## installation
  4. ### download
  5. get the source code
  6. git clone https://git.freakaria.com/dom/freaCMS.git
  7. cd freaCMS
  8. install dependencies
  9. composer install
  10. ### configure
  11. create and edit main.cfg and deploy:
  12. for i in {deploy,main.cfg}; do cp $i.sample $i; done;
  13. main.cgf:
  14. SITE_URL = public URL where website is reachable (used in links, etc...)
  15. title = give your site a title
  16. deploy:
  17. USER = ssh user on server
  18. SERVER = server address for ssh login
  19. LIVE_DIR = relative path (from ssh login) to live site
  20. DEV_DIR = relative path to development site (so you can try out without breaking stuff)
  21. ### test
  22. php -S localhost:12345
  23. point browser to localhost:12345
  24. ### upload
  25. ./deploy dev go
  26. ./deploy dev content up go
  27. ## Template variables
  28. LANG
  29. default_lang
  30. RESOURCES
  31. hideFromSearchEngines
  32. title
  33. bodyClass