Dependencies | Setup Laravel | Start Laravel |
---|
Docker Docs | PHP 7 Docs | Composer Docs | Node Downloads | |
---|---|---|---|---|
Win | Installer | WAMP | Installer | Installer (64) |
Mac | Installer | Pre-installed | Use Docs | Installer (64) |
Linux | Docs | LAMP Docs | Use Docs | Installer (64) |
https://www.lucidchart.com/documents/edit/6fe7035c-4ede-416a-844d-46168be1a34b
docker -v && php -v && composer -V && node -v && npm -v
Window Users: you might need to put this in [User Profile]/sites
directory because docker & windows are still trying to work with each other :)
Something like this:
git clone git@github.com:WSUWITTS/WITS.git %UserProfile%/sites/wits
cd %UserProfile%/sites/wits
(Root level of the project)
composer install
npm install
Copy a new .env
from .env.example
. This is where you put any Settings/Passwords/Keys
cp .env.example .env
php artisan app:setup
docker-compose up
npm run watch
- git commit
- wits.weber.edu (wits project)
- wits/pipelines (gitlab-ci.yml) (all the automation)
ssh wits-dev.weber.edu
- remember duo (for sudo, living the dream)
sudo docker exec -it wits_web_1 bash
ssh wits.weber.edu
- remember duo (for sudo, living the dream)
sudo docker exec -it opt_web_1 bash
php artisan migrate:refresh --seeder=ProdDatabaseSeeder
php artisan tinker
$user = \App\User::find(1);
$user->assignRole(['admin']);