sumocoders/application-skeleton 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sumocoders/application-skeleton

最新稳定版本:v17.1.0

Composer 安装命令:

composer create-project sumocoders/application-skeleton

包简介

README 文档

README

Use the following commands to create a new project:

composer create-project sumocoders/application-skeleton my_project
git init
git add .
git commit -n -m "Initial commit"

Start your project by running:

symfony serve
symfony console sass:build --watch

Configuration

Deployment

Open deploy.php and check the configuration, replace the example values (prefixed with $) with correct values.

Try to deploy to staging by running:

symfony php vendor/bin/dep deploy stage=staging

Log in through ssh on the dev-server and alter the .env.local-file to use the correct credentials.

Continuous deployment to staging and production

Each time something is merged into the staging or the master branch it will be deployed automatically.

  1. Open .gitlab-ci.yml
  2. Scroll to Deploy - to staging.
  3. Alter the url under environment → url.
  4. Scroll to Deploy - to production.
  5. Alter the url under environment → url.

Working on the Skeleton

Testing create-project locally

There is a test-script scripts/test.sh which you can use:

COMPOSER_MEMORY_LIMIT=-1 ./scripts/test.sh BRANCH-TO_TEST TARGETDIR

This will create a new project that uses the committed code in the selected branch. The new project will be located in the TARGETDIR

Kudos to beporter.

统计信息

  • 总下载量: 724
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-09-06