-
Notifications
You must be signed in to change notification settings - Fork 4
Getting Started (Docker)
Michael Hose edited this page Dec 11, 2020
·
3 revisions
- Docker
- Visual Studio / PHPStorm (not required but needed to edit anything in website)
- Node js
- Yarn
- Download the source code from the link above. Make sure to use the latest develop branch from github.
git clone https://github.com/hose1021/DevHub.git
- Copy default configurations then configurate it for your interests
php -r "file_exists('.env') || copy('.env.example', '.env')
- Generate the key
php artisan key:generate
- Run Dokcer machine, then go from terminal to work folder. After build docker and run containers with one command
docker-compose up -d
- Install php vendors and javascript
composer install
yarn watch
- Connect to container
docker exec -it php bash
- Migrate database
php artisan migrate --seed
Now you can connect to website with link 127.0.0.1:8090
If there are any questions please join our Telegram or ask us on Github Discussion.
Join us in Telegram ask us on Github Discussion if you have any questions.