-
-
Notifications
You must be signed in to change notification settings - Fork 47
Setting up the app (docker)
Austin Kregel edited this page Dec 21, 2020
·
2 revisions
(This assumes you already have docker and docker-compose installed...)
Type docker-compose build
while in the finance directory, press enter, and wait for the command to finish. (It will take some time... 10+ minutes)
docker exec -it finance-php composer install
docker run -it -v "`pwd`:/app" -w /app node yarn
cp .env.example .env
docker exec -it finance-php php artisan storage:link
docker exec -it finance-php php artisan key:generate
docker exec -it finance-php php artisan migrate
docker run -it -v "`pwd`:/app" -w /app node yarn run prod
Once it completes run docker-compose up -d
, press enter, then go to http://localhost or the IP of the computer this is hosted on. The website should load and display a login page.