Skip to content

Instantly share code, notes, and snippets.

@OmdaMukhtar
Last active September 29, 2019 22:55
Show Gist options
  • Save OmdaMukhtar/e653d6cc5b8f493cf4b284f84e6183d9 to your computer and use it in GitHub Desktop.
Save OmdaMukhtar/e653d6cc5b8f493cf4b284f84e6183d9 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd # out from current path to root
cd Desktop/folder1/folder2/ # enter to path of your project
code . # open my project in vscode
gnome-terminal - tab - title="server" - command="bash -c 'cd /opt/lampp;echo your_password|sudo -S ./lampp start; $SHELL'" - tab - title="npm" - command="bash -c 'cd; cd Desktop/folder1/folder2;npm run watch; $SHELL'"
php artisan serve # run server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment