-
-
-
-
- cd /home && LOG_FILE=laravel-$(date --date="tomorrow" +"%Y-%m-%d").log && [ ! -f $LOG_FILE ] && echo "" > $LOG_FILE
-
-
-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"The best way to predict your future is to create it." —Abraham Lincoln. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Build Frontend Dev | |
on: | |
push: | |
branches: ["main", "cicd", "dev/*"] | |
pull_request: | |
branches: ["main"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.1-fpm | |
# Arguments defined in docker-compose.yml | |
ARG user=ubuntu | |
ARG uid=1000 | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=PhpStorm | |
Icon=/home/super/Programs/PhpStorm-2021.3/bin/phpstorm.png | |
Exec="/home/super/Programs/PhpStorm-2021.3/bin/phpstorm.sh" %f | |
Comment=Develop with pleasure! | |
Categories=Development;IDE; | |
Terminal=false | |
StartupWMClass=jetbrains-phpstorm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
```shell | |
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /etc/nginx/sites-available/your_domain /etc/nginx/sites-enabled/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/www/html | |
sudo chown -R www-data:www-data ./ | |
sudo find . -type d -exec chmod 0755 {} \; | |
sudo find . -type f -exec chmod 0644 {} \; |
NewerOlder