Fix upload permissions and make database persistent #17

Merged
bilal.catic merged 7 commits from docker-fix-mysql-and-permissions into master 2018-09-04 09:04:40 +02:00
bilal.catic commented 2018-08-31 00:33:40 +02:00 (Migrated from gitlab.com)

Asana card

A) Database persistency test

  1. execute sudo docker-compose build (NOTE : even if you added user to docker group, sudo is required because it cannot read data from ./database/volume directory)
  2. execute docker-compose up
  3. Make some changes, like create user, products, create order or similar
  4. Stop containers (Ctrl+C)
  5. Repeat steps 1. and 2.
  6. All changes should be preserved

B) Upload permissions

  1. execute sudo docker-compose build (NOTE : even if you added user to docker group, sudo is required because it cannot read data from ./database/volume directory)
  2. execute docker-compose up
  3. Go to admin panel
  4. Open media menu on the left panel
  5. Try uploading some media

=======================================

I left WIP so we can find solution for user capabilities. On initial build, customer cannot leave comments.

<a href="https://app.asana.com/0/697944902557002/801813766040308/f">Asana card<a> A) Database persistency test 1. execute `sudo docker-compose build` (NOTE : even if you added user to docker group, sudo is required because it cannot read data from `./database/volume` directory) 2. execute `docker-compose up` 3. Make some changes, like create user, products, create order or similar 4. Stop containers (Ctrl+C) 5. Repeat steps 1. and 2. 6. All changes should be preserved B) Upload permissions 1. execute `sudo docker-compose build` (NOTE : even if you added user to docker group, sudo is required because it cannot read data from `./database/volume` directory) 2. execute `docker-compose up` 3. Go to admin panel 4. Open media menu on the left panel 5. Try uploading some media ======================================= I left WIP so we can find solution for user capabilities. On initial build, customer cannot leave comments.
bilal.catic commented 2018-08-31 17:35:49 +02:00 (Migrated from gitlab.com)

added 1 commit

  • bc15706f - allow customer to add comments

Compare with previous version

added 1 commit <ul><li>bc15706f - allow customer to add comments</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/17/diffs?diff_id=22179348&start_sha=df816f0dd76953bd2bb3b236d1ca8b80df2c6c85)
bilal.catic commented 2018-08-31 18:25:25 +02:00 (Migrated from gitlab.com)

changed the description

changed the description
bilal.catic commented 2018-08-31 20:39:16 +02:00 (Migrated from gitlab.com)

added 2 commits

Compare with previous version

added 2 commits <ul><li>513401c9 - refactor code</li><li>d90c1240 - fix typo</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/17/diffs?diff_id=22186379&start_sha=bc15706f07be4da3d8f50327c3ff12aa9d62ad48)
bilal.catic commented 2018-08-31 20:39:30 +02:00 (Migrated from gitlab.com)

unmarked as a Work In Progress

unmarked as a **Work In Progress**
bilal.catic commented 2018-09-03 00:33:18 +02:00 (Migrated from gitlab.com)

added 1 commit

  • 929d0503 - testing diff command

Compare with previous version

added 1 commit <ul><li>929d0503 - testing diff command</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/17/diffs?diff_id=22240245&start_sha=d90c12406b30c0eb19dc247bb37f7ceb737200c8)
akrdzic commented 2018-09-03 23:22:19 +02:00 (Migrated from gitlab.com)

added 1 commit

  • 06fc46fb - Run database migration as www-data user

Compare with previous version

added 1 commit <ul><li>06fc46fb - Run database migration as www-data user</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/17/diffs?diff_id=22295506&start_sha=d90c12406b30c0eb19dc247bb37f7ceb737200c8)
akrdzic commented 2018-09-04 09:04:40 +02:00 (Migrated from gitlab.com)

merged

merged
akrdzic commented 2018-09-04 09:04:40 +02:00 (Migrated from gitlab.com)

mentioned in commit 8547b2a4b4

mentioned in commit 8547b2a4b4725029a74f1b994e9702bf41aef9bc
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: senaduka/old-new-wiaas#17