1.0.0 • Published 2 years ago

packaide v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Contributors Forks Stargazers Issues MIT License LinkedIn

About

I was developing an app with Laravel and deployment was taking too much time then I decided to make a library which is do the extra work for me.

Of course you can use the library with whatever you want.

Getting Started

Prerequisites

You must install one of these package managers npm or yarn.

Installation

npm

npm install packaide -D

yarn

yarn add packaide -D

Make sure you installing the package as devDependency.

Also you can install the CLI as global to use it everywhere, but it's not designed to use it that way. It could be challenging.

Commands

Parent command

packaide

Configuration

Usage Example

Example config file .packaide.json

{
  "outputPath": "release",
  "folders": [
    "./app",
    "./bootstrap",
    "./config",
    "./public",
    "./resources/views",
    "./resources/lang",
    "./routes",
    "./storage"
  ],
  "archiveAfterCopy": true,
  "archiveName": "packaide-release",
  "files": [".env", "composer.json", "composer.lock", ".production.env", "artisan"],
  "ftp": {
    "server": "127.0.0.7",
    "username": "ftpacc",
    "password": "S3CR3TP455W04RD",
    "sftp": false,
    "port": 21,
    "deleteRemote": false,
    "include": ["*", "**/*", ".env", ".production.env"],
    "exclude": [".local.env"],
    "forcePassiveMode": true,
    "remoteRoot": "/home/yourwebsite.com/public_html/"
  }
}

run packaide copy

alt

Have fun :)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.md for more information.