Code Monkey home page Code Monkey logo

forge-publish's Introduction

forge-publish

Latest Stable VersionSoftware License License Build Status Coverage Status StyleCI Quality Score Total Downloads Monthly Downloads Daily Downloads composer.lock

Laravel artisan command to automate publish on Laravel Forge

Install

Use composer:

$ composer require acacha/forge-publish

Usage

First you have to create and account in https://forge.acacha.org.

Server side

Please first visit:

https://forge.acacha.org

Login and ask permissions to Manage a Laravel Forge Server. Wait to recibe a confirmation email

publish:init command

Run:

php artisan publish:init

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

forge-publish's People

Contributors

acacha avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

frogmarketmedia

forge-publish's Issues

Seeds in production

Permetre als usuaris executar també els seeds a producció durant la primera instal·lació.

NOTA: les migracions són force però sense un fresh: permetra també fer un fresh (amb confirm pq pot borrar dades a explotació!!!)

Deploy command

Ok we have autodeploy but this command also could be useful

Dusk? Oco amb el error del dusk com evitar o avisar?

Detailed description

Provide a detailed description of the change or addition you are proposing.

Make it clear if the issue is a bug, an enhancement or just a question.

Context

Why is this change important to you? How would you use it?

How can it benefit other users?

Possible implementation

Not obligatory, but suggest an idea for implementing addition or change.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

  • Version used (e.g. PHP 5.6, HHVM 3):
  • Operating system and version (e.g. Ubuntu 16.04, Windows 7):
  • Link to your project:
  • ...
  • ...

Create publish:server_info

FORGE execute:

$forge->server($serverId);

Result (show a table with info):

$forge->server(154577);
=> Themsaid\Forge\Resources\Server {#1044
     +id: 154577,
     +name: "sergitur-sandbox",
     +credentialId: 33822,
     +size: "512MB",
     +region: "Amsterdam 2",
     +ipAddress: "146.185.164.54",
     +privateIpAddress: "10.129.6.132",
     +phpVersion: "php71",
     +blackfireStatus: null,
     +papertrailStatus: null,
     +isReady: true,
     +revoked: false,
     +createdAt: "2017-09-18 11:41:09",
     +network: [],
     +attributes: [
       "id" => 154577,
       "credential_id" => 33822,
       "name" => "sergitur-sandbox",
       "size" => "512MB",
       "region" => "Amsterdam 2",
       "php_version" => "php71",
       "ip_address" => "146.185.164.54",
       "private_ip_address" => "10.129.6.132",
       "blackfire_status" => null,
       "papertrail_status" => null,
       "revoked" => false,
       "created_at" => "2017-09-18 11:41:09",
       "is_ready" => true,
       "network" => [],
     ],
   }

Error creating site:

And error occurs connecting to the api url: https://forge.acacha.org/api/v1/servers/154577/sites
Exception occurs. Message: cURL error 7: Failed to connect to forge.acacha.org port 443: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Error creating SSL certificate

 [GuzzleHttp\Exception\ConnectException]                                                         
  cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)  

Create sqlite file i. Support sqlite

Detailed description

Provide a detailed description of the change or addition you are proposing.

Make it clear if the issue is a bug, an enhancement or just a question.

Context

Why is this change important to you? How would you use it?

How can it benefit other users?

Possible implementation

Not obligatory, but suggest an idea for implementing addition or change.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

  • Version used (e.g. PHP 5.6, HHVM 3):
  • Operating system and version (e.g. Ubuntu 16.04, Windows 7):
  • Link to your project:
  • ...
  • ...

DNS with API

Utilitzar per exemple digital Ocena per gestionar les DNS:

https://developers.digitalocean.com/documentation/v2/

Tenen api per afegir registres al servidor de DNS per a certs dominis. La DNS/domini no es compra a Digital Ocean però si que es configura per redireccionar la gestió del domini.

Comprar un domini:

  • iesebre.com: o altres no tocar per que són del ies
  • acacha.org
  • forge-acacha.org? podria ser una opció
  • forge.acacha.org : subdomini

Estructura:

  • nomusuari.forge.acacha.org : o que l'usuari pugui decidir canviar el nom durant la creació del usuari
  • Pugui crear els subdominis que vulgui i associar-los a màquines.

Change autodeploy script

Allow to add a script hook (file in local folde) to execute during deployment. Ens pot permetre per exemple executar un pull a repositories dependents o altres tasques que creiem convenient. MIllor script en local que no tenir que estar sempre modificant script de Laravel Forge

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.