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.
- Open
.gitlab-ci.yml - Scroll to
Deploy - to staging. - Alter the url under
environment → url. - Scroll to
Deploy - to production. - 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
其他信息
- 授权协议: proprietary
- 更新时间: 2018-09-06