Code Monkey home page Code Monkey logo

artisan-forge-deploy's Introduction

Hi there ๐Ÿ‘‹

Iโ€™m a developer from germany and currently working on apocollect.

๐Ÿ“ฆ I develop usefull services and open-source packages and helpfull starting points like the Complete Vue3 SPA with Laravel Backend that might help you out to start your next big project.

๐Ÿš€ There are a ton of private projects i might open-source like the beautiful url-reminder https://remindl.ink.

artisan-forge-deploy's People

Contributors

dependabot[bot] avatar tobischulz avatar tspencer244 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

artisan-forge-deploy's Issues

Add a --force option

Add a --force option to force new deployment without to confirm the deploy on CLI.

Manage URLs through artisan

Maybe it becomes handy to manage all sites and deployment trigger urls through artisan commands.

Add new site url to .env file (maybe with a dialog when options are empty)

php artisan forge:add --site=production --url=https://..

Site names will be used to generate new keys as in Issue #2 .

So the --site=my-site will generate this key in the .env file:

FORGE_DEPLOY_MY_SITE_URL=https://..

List all configured sites in .env

php artisan forge:sites

Collects all the keys in the .env file with FORGE_DEPLOY_ and shows the site names out of the key.

Add production and staging options

To make this command more flexible the command should have options to deploy on one of multiple environments (staging or production).

php artisan forge:deploy --site=staging
php artisan forge:deploy --site=production

If the command will called without any of this option, a dialog should ask for staging or production if both are configured in .env file.

The .env file should have a new configuration like:

FORGE_DEPLOY_STAGING_URL=https://...
FORGE_DEPLOY_PRODUCTION_URL=https://...

The --site option should be optional. If its empty the default env key will be used.

FORGE_DEPLOY_URL=https://...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.