-
Notifications
You must be signed in to change notification settings - Fork 8
1.1 Working with existing project
vitalyiegorov edited this page Jan 3, 2015
·
2 revisions
#Working with existing project
How to start working with existing project, we consider that you have access to working CVS SamsonPHP project repository:
- Clone project repository
git clone [repo_url] [project_path], whererepo_url- accessible url, for examplehttps://github/samsonos/php_core.git,project_path- location on your hard drive where project will be created - Go to cloned folder and call
composer intall --prefer-distto install all external dependencies, for more information about composer visit official web-site - If you project has database then you should create it and import dump, by default its located in the project root folder, for example
projectname.sql.gz, if your project is using SamsonPHP ActiveRecord module, then your database configuration is located in/app/config/ActiveRecord[type]Config.phpand you must either match it or change it to your specific settings. - To make your website accessible, you must configure your web-server to serve files from
/wwwthis is project public folder.
Developed by SamsonOS. Feel free to contact us at any time