mostly filebased Content Presentation System
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 1013B

il y a 2 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. install example content
  11. tar zxf rsc/example_content.tar.gz
  12. ### configure
  13. create and edit main.cfg and deploy:
  14. for i in {deploy,main.cfg}; do cp $i.sample $i; done;
  15. main.cgf:
  16. SITE_URL = public URL where website is reachable (used in links, etc...)
  17. title = give your site a title
  18. deploy:
  19. USER = ssh user on server
  20. SERVER = server address for ssh login
  21. LIVE_DIR = relative path (from ssh login) to live site
  22. DEV_DIR = relative path to development site (so you can try out without breaking stuff)
  23. ### test
  24. php -S localhost:12345
  25. point browser to localhost:12345
  26. ### upload
  27. ./deploy dev go
  28. ./deploy dev content up go
  29. ## Template variables
  30. LANG
  31. default_lang
  32. RESOURCES
  33. hideFromSearchEngines
  34. title
  35. bodyClass