#Suishengwan webservice project
Init steps
-
clone project
git clone git@139.224.35.235:binqi.yuan/suishenwan_webservice.git -
Go to project directory, rename .env.example to .env
mv .env.example .env run
composer update-
modify .env file to change db connections
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=suishenwan DB_USERNAME=root DB_PASSWORD=123123 -
run migration to create the database tables
php artisan migrate --seed -
use git subtree to use shared components
//init remote git remote add modules git@139.224.35.235:binqi.yuan/suishenwan_module.git git remote add common git@139.224.35.235:binqi.yuan/suishenwan_common.git git remote add db git@139.224.35.235:binqi.yuan/suishenwan_database.git //subtree add modules git subtree add --prefix=app/Modules modules master --squash git subtree add --prefix=app/Common common master --squash git subtree add --prefix=database db master --squash use your own branch to start develop