Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nembie/vercelit-laravel
Quickly configure and deploy your Laravel app on Vercel.
https://github.com/nembie/vercelit-laravel
bash-script deploy laravel vercel
Last synced: 8 days ago
JSON representation
Quickly configure and deploy your Laravel app on Vercel.
- Host: GitHub
- URL: https://github.com/nembie/vercelit-laravel
- Owner: Nembie
- License: mit
- Created: 2023-12-24T18:04:05.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-05T10:07:58.000Z (11 months ago)
- Last Synced: 2024-01-25T18:08:43.665Z (10 months ago)
- Topics: bash-script, deploy, laravel, vercel
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 Vercelit Laravel
![Vercelit Laravel](https://github.com/Nembie/vercelit-laravel/assets/47114030/176b11f3-bdb2-4bb5-b652-8cebf099e1d2)
This Bash script automates the setup process for deploying a [Laravel](https://laravel.com) project on [Vercel](https://vercel.com). It allows you to configure essential environment variables, create required files and directories, and generate a Vercel configuration.
## 🚀 Usage
```bash
vercelit-laravel [-h] [-r]
```## ⚙️ Installation
1. Clone this repository into a folder.
```bash
git clone https://github.com/Nembie/vercelit-laravel
```2. Go to folder
```bash
cd vercelit-laravel
```3. Run setup.sh
```bash
./setup.sh
```4. Usage
```bash
// In your Laravel project directory
vercelit-laravel
```## 🧰 Options
#### Overwrite Vercel configuration
You can use the -r or --reinstall option to reinstall the setup, overwriting necessary files. This is useful if you need to reset or update your configuration.
```bash
./vercelit-laravel.sh -r
```## 🔧 Enviroment variables
The script prompts you to enter values for the following environment variables:
```
APP_URL: The URL for your Laravel application (default: https://yourproductionurl.com).
APP_ENV: The environment for your application (default: production).
APP_DEBUG: Whether debugging is enabled (default: true).
```This script defaults to using the ```.env.vercel``` file if present; otherwise, it will use the ```.env``` file.
## 🤝 Contribution
If you find any issues or have suggestions for improvements, feel free to open a pull request or issue. Your contribution is highly appreciated.## 📝 License
This package is open-sourced software licensed under the [MIT license](https://github.com/Nembie/vercelit-laravel/blob/main/LICENSE).