mostly filebased Content Presentation System
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

hace 5 años
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. install example content
  22. tar zxf rsc/example_content.tar.gz
  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