Advertisement
BeyondTheHumanLimit

installation setup

Nov 16th, 2015
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. By http://netifex.net
  2.  
  3. To Setup: - Unzip source code
  4.  
  5. - open file app/config/parameters.yml
  6.  
  7. + Change database info:
  8.  
  9. database_host: 127.0.0.1
  10.  
  11. database_name:
  12.  
  13. database_user:
  14.  
  15. database_password:
  16.  
  17. - Import database:
  18.  
  19. import file data.sql to your system (database included sample) import file data_update.sql to update newest database.
  20.  
  21. - Upload source code to Server
  22.  
  23. - chmod 777 folder and sub-folder in root directory:
  24.  
  25. app/sessions app/cache app/logs
  26.  
  27. - Delete all file + sub-folder on app/cache
  28.  
  29. - Setting system: open file
  30.  
  31. src/Social/ManagerBundle/SocialManagerBundle.php
  32.  
  33. change some setting
  34.  
  35. public static $demoMode = 0; //mode live or demo (0: Live, 1: demo)
  36.  
  37. public static $fb_app = ””; // facebook app_id
  38.  
  39. public static $fb_key = ””; // facebook seret app key
  40.  
  41. public static $defaultPassword = “12345678”; //Change default password
  42.  
  43. - Setup crontab feeds content to facebook auto
  44.  
  45. * * * * /usr/bin/php PATH/app/console FeedFacebook > /dev/null 2>&1
  46.  
  47. change PATH to your path on server
  48.  
  49. - That All.
  50.  
  51. Congrats, Your system will running.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement