Skip to content

Getting Started (Docker)

Michael Hose edited this page Dec 11, 2020 · 3 revisions

Required downloads:

  • Docker
  • Visual Studio / PHPStorm (not required but needed to edit anything in website)
  • Node js
  • Yarn

Github

  • 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

Localy

  • 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

Docker

  • Connect to container
docker exec -it php bash
  • Migrate database
php artisan migrate --seed

Getting Into Website

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.