* #60 - wip * #60 - wip * #60 - fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
This commit is contained in:
parent
10b5d0c37e
commit
5cb46d2fc4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
/public/hot
|
/public/hot
|
||||||
/public/storage
|
/public/storage
|
||||||
|
/public/avatars
|
||||||
/public/js/
|
/public/js/
|
||||||
/public/css/
|
/public/css/
|
||||||
/public/mix-manifest.json
|
/public/mix-manifest.json
|
||||||
|
@ -17,7 +17,6 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
"links" => [
|
"links" => [
|
||||||
public_path("storage") => storage_path("app/public"),
|
|
||||||
public_path("avatars") => storage_path("app/avatars"),
|
public_path("avatars") => storage_path("app/avatars"),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -1 +0,0 @@
|
|||||||
/application/storage/app/avatars
|
|
@ -37,6 +37,10 @@ Directory structure little differs from a standard Laravel tree. We decided to r
|
|||||||
|
|
||||||
dcr php php artisan key:generate
|
dcr php php artisan key:generate
|
||||||
|
|
||||||
|
- generate storage link
|
||||||
|
|
||||||
|
dcr php php artisan storage:link
|
||||||
|
|
||||||
- migrate and seed database
|
- migrate and seed database
|
||||||
|
|
||||||
dcr php php artisan migrate --seed
|
dcr php php artisan migrate --seed
|
||||||
|
1
setup
1
setup
@ -8,6 +8,7 @@ docker-compose build --no-cache --pull
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
|
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
|
||||||
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
|
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
|
||||||
|
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan storage:link
|
||||||
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
|
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
|
||||||
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
|
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
|
||||||
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev
|
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev
|
||||||
|
1
storage/app/.gitignore
vendored
1
storage/app/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
*
|
*
|
||||||
!public/
|
!public/
|
||||||
|
!avatars/
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
2
storage/app/avatars/.gitignore
vendored
Normal file
2
storage/app/avatars/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
x
Reference in New Issue
Block a user