Name Last Update
app Loading commit data...
bootstrap Loading commit data...
config Loading commit data...
database Loading commit data...
public Loading commit data...
resources Loading commit data...
routes Loading commit data...
storage Loading commit data...
tests Loading commit data...
utils/alipay Loading commit data...
README.md Loading commit data...
artisan Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
phpunit.xml Loading commit data...
read.txt Loading commit data...
server.php Loading commit data...
webpack.mix.js Loading commit data...
yarn.lock Loading commit data...

#Suishengwan admin project

Init steps

  1. clone project

    git clone git@139.224.35.235:binqi.yuan/suishenwan_admin.git
  2. Go to project directory, rename .env.example to .env

    mv .env.example .env
  3. run composer update

  4. 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
  5. run migration to create the database tables

    php artisan migrate --seed
  6. 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
  7. use your own branch to start develop