packaide
v1.0.0
Published
packaide is a helper library that packages files you defined in config. You can use it to package your source or upload to the host.
Downloads
2
Maintainers
Readme
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
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.md
for more information.