rootinc/laravel-heroku-app-creator 问题修复 & 功能扩展

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

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

rootinc/laravel-heroku-app-creator

最新稳定版本:0.0.7

Composer 安装命令:

composer require rootinc/laravel-heroku-app-creator

包简介

Laravel Heroku App Creator

README 文档

README

Creates an App on Heroku using the Heroku Quick Deployer, as well as setups simple AWS credentials, and generates an app key.

Normal Installation

  1. composer require rootinc/laravel-heroku-app-creator
  2. run php artisan vendor:publish --provider="RootInc\LaravelHerokuAppCreator\AppCreatorServiceProvider" to install config file to config/app_creator.php
  3. In our routes folder (most likely web.php), add
Route::get('/create-app', '\RootInc\LaravelHerokuAppCreator\AppCreator@route');
  1. In our .env add AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION and AWS_BUCKET. The access key and secret key is used to create S3 folders and IAM users, so be sure this programmatic user has the correct permissions. The AWS_BUCKET is where all the apps folders will get generated.
  2. Also in our .env add IAM_GROUP, and TEMPLATE_URL. IAM_GROUP is the name of the group you want to assign the newly created AWS user for each Heroku app. TEMPLATE_URL is the url used with Heroku to create a new app. Make sure this repo has an app.json file. Ex: TEMPLATE_URL=https://github.com/rootinc/laravel-heroku-app-creator/tree/master.

Routing

Route::get('/create-app', '\RootInc\LaravelHerokuAppCreator\AppCreator@route'); First parameter can be wherever you want to route the app creator route. Change as you would like.

Contributing

Thank you for considering contributing to the Laravel Heroku App Creator! To encourage active collaboration, we encourage pull requests, not just issues.

If you file an issue, the issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a issue is to make it easy for yourself - and others - to replicate the bug and develop a fix.

License

The Laravel Heroku App Creator is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-14