`.
```bash
cp .env.example .env && nano .env
```
@@ -72,55 +75,72 @@ With this setup, I don't have to worry about the things I've mentioned, plus I g
chmod +x ./lara-stacker.sh && sudo ./lara-stacker.sh
```
-- Choose to [**setup**](./scripts/setup.sh) your Ubuntu environment first, which will install everything necessary for local PHP development, and eventually create a [done-setup.flag] file in the directory.
+- Choose to [**setup**](./scripts/setup.sh) your Ubuntu environment first, which will install everything necessary for local Laravel development, and eventually create a [`done-setup.flag`] file in the directory.
- Then choose to either:
- - Create a [**TALL**](./scripts/TALL/create.sh) project through its management section, then continue onwards with the installed [TALL-Stacker](https://github.com/GoodM4ven/tall-stacker) package via its Artisan command.
+ - Create a [**TALL**](./scripts/TALL/create.sh) project through its management section, then continue onwards with the installed [TALL-Stacker](https://github.com/GoodM4ven/tall-stacker) package via its Artisan command (soon™).
- Or just create a [**raw**](./scripts/create_raw.sh) Laravel one, instead.
- - You can also [**import**](./scripts/TALL/import.sh) an already existing project into the same setup.
+ - You can also [**import**](./scripts/TALL/import.sh) an already existing project into the same TALL setup.
That's it. You'll have your first project accessible in the end (displaying the site's URL too). And just praise Allah instead of wasting the waiting time! `:)`
> [!NOTE]
-> If you want to debug the process or display all output during the scripts, change the `LOGGING_LEVEL` variable in your [[.env](./.env)] file.
+> If you want to debug the process or display all output during the scripts, change the `LOGGING_LEVEL` variable in your [[`.env`](./.env)] file.
+
+## Notes
-## Before Production
+### Opinionated Modifications
-- If you'd provided an Expose token, reset [app/Http/Middleware/TrustedProxies.php]'s property to `protected $proxies;`.
+- `curl -fsSL https://bun.sh/install | bash`
+- `bun add -g @withgraphite/graphite-cli@stable`
+- `ln -s $projects_directory/` (Creating a shortcut for [`/var/www/html`] directory in a [`~/Code`] directory)
+- `sudo mkdir $projects_directory/.packages` (Creating a [`/var/www/html/.packages`] directory)
+- `sudo cp $lara_stacker_dir/files/.opinionated/project.code-workspace ./$escaped_project_name.code-workspace` (Creating VSC workspaces on Desktop)
+- `sudo cp $lara_stacker_dir/files/.opinionated/.prettierrc ./.prettierrc` (Adding Prettier config [files](./files/.opinionated/.prettierrc) to projects)
+- Adding Bash aliases to the user's [`~/.bashrc`] file:
+ ```bash
+ echo -e "\n# Laravel Aliases\nalias cda='composer dump-autoload'\nalias art='php artisan'\nalias wipe='php artisan db:wipe'\nalias fresh='php artisan migrate:fresh'\nalias mfs='php artisan migrate:fresh --seed'\nalias opt='php artisan optimize:clear'\nalias dev='bun run dev'\n" >>/home/$USERNAME/.bashrc
+ ```
+### Before Production
-## Todos For Development:
+- If you had provided an Expose token, remove the project [bootstrap/app.php]'s middleware `trust` configuration.
-- [ ] Open VSC (or [Codium](https://vscodium.com/)) if available
-- [ ] Consider `phpredis` extension instead of `predis` for both setup and creation scripts
-- [ ] Find a consistant fix for `$USERNAME` env-variable
-- [ ] Automate the `mkcert` installation command during setup script without password
-- [ ] Turn the main skeleton scripter into a NativePHP app or hard-code a specific `PHP_VERSION` maybe
+## Development
-## Credits
+There is [another package](https://github.com/VPremiss/TALL-Stacker) on the way to complement tall-stack packages installation; soon, (in sha' allah)...
-- ( [Tech Stack List](#tech-stack-list) )
+### Changelogs
-- ( [VSC Extensions](./files/.opinionated/extensions.md) )
- > [!TIP]
- > The best way to deal with workspace settings or extensions is to separate them into their own "TALL" or "Laravel" VSC Profile.
+You can check out the package's [changelogs](https://app.whatthediff.ai/changelog/github/GoodM4ven/lara-stacker) online via WTD.
- > [!NOTE]
- > Feel free to take a look at my VSC [settings](./.opinionated/settings.json), [keybindings](./.opinionated/keybindings.json), and their complete [extension list](./.opinionated/extensions.md) as well.
+### Progress
-- ( [Contributers](https://github.com/GoodM4ven/lara-stacker/graphs/contributors) )
+You can also checkout the project's roadmap from [here](https://github.com/users/GoodM4ven/projects/2/views/1).
## Support
-Support the maintenance as well as the development of [other projects](https://github.com/sponsors/GoodM4ven) through sponsorship or one-time [donations](https://github.com/sponsors/GoodM4ven?frequency=one-time&sponsor=GoodM4ven).
+Support ongoing package maintenance as well as the development of **other projects** through [sponsorship](https://github.com/sponsors/GoodM4ven) or one-time [donations](https://github.com/sponsors/GoodM4ven?frequency=one-time&sponsor=GoodM4ven) if you prefer.
+
+And may Allah accept your strive; aameen.
+
+### License
+This package is open-sourced software licensed under the [MIT license](LICENSE.md).
-## Changelogs
+### Credits
-Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
+- [ChatGPT](https://chat.openai.com)
+- [Graphite](https://graphite.dev)
+- [Laravel](https://github.com/Laravel)
+- [Spatie](https://github.com/spatie)
+- [BeyondCode](https://beyondco.de)
+- [The Contributors](../../contributors)
+- All the [technologies](#tech-stack-list) used to set up this whole development environment...
+- And the generous individuals that we've learned from and been supported by throughout our journey...
diff --git a/scripts/setup.sh b/scripts/setup.sh
index 166f8ee..6f178fc 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -69,9 +69,9 @@ fi
echo -e "\nInstalling system packages..." >&3
if $cancel_suppression; then
- sudo apt install git curl php apache2 php-curl php-xml php-dom php-bcmath php-zip sqlite3 php-sqlite3 -y 2>&1
+ sudo apt install git curl php apache2 php-curl php-xml php-dom php-bcmath php-zip sqlite3 php-sqlite3 npm -y 2>&1
else
- sudo apt install git curl php apache2 php-curl php-xml php-dom php-bcmath php-zip sqlite3 php-sqlite3 -y 2>&1 >/dev/null
+ sudo apt install git curl php apache2 php-curl php-xml php-dom php-bcmath php-zip sqlite3 php-sqlite3 npm -y 2>&1 >/dev/null
fi
# ? Dynamically get the PHP version
@@ -188,12 +188,6 @@ fi
EOF
echo -e "\nInstalled Graphite version control CLI." >&3
-else
- if $cancel_suppression; then
- sudo apt install npm -y 2>&1
- else
- sudo apt install npm -y 2>&1 >/dev/null
- fi
fi
# ? Install Composer (globally)