Skip to content

Modify provision.sh, Makefile and update README#9

Merged
danialmalik merged 1 commit intoedly/ifrom
danial/fix-provision-update-readme
Sep 26, 2019
Merged

Modify provision.sh, Makefile and update README#9
danialmalik merged 1 commit intoedly/ifrom
danial/fix-provision-update-readme

Conversation

@danialmalik
Copy link
Copy Markdown

Update README:
Update README according to Edly requirements.

Makefile:
Change "requirements" rule to install php and composer

provision.sh:
remove provision-wordpress.sh

provision-wordpress.sh:
add "#!/bin/bash" at start of file.

@danialmalik danialmalik self-assigned this Sep 5, 2019
@danialmalik danialmalik force-pushed the danial/fix-provision-update-readme branch 4 times, most recently from 1b809e5 to 22beb31 Compare September 5, 2019 09:42
Comment thread README.rst Outdated
Comment thread README.rst Outdated
Comment thread README.rst Outdated
-------------------------

1. Go do the edly directory.
2. Run ``sudo chmod -R 777 src/``
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to set these permissions. Try setting up edly devstack without this step.

Comment thread README.rst Outdated
Comment thread README.rst
@danialmalik danialmalik force-pushed the danial/fix-provision-update-readme branch from 31884ae to 9f6fa04 Compare September 24, 2019 06:39
Comment thread README.rst Outdated
.. code:: sh

make wordpress-shell
apt-get install php7.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This container already contains php7.3 in it so we don't need it to install.

Comment thread README.rst

.. code:: sh

./provision-wordpress.sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While provision we face several issues:

  • Permission denied Exception for theme and plugin folder this command outside helped:
    sudo chmod a+rw ../edly-wp-plugin -R
    sudo chmod a+rw ../edly-wp-theme -R

  • Another issue is php7.2-xml is not install on my host machine so we installed it on our own using this command:
    sudo apt-get install php7.2-xml

@tehreem-sadat Faced the same issues.

@danialmalik danialmalik force-pushed the danial/fix-provision-update-readme branch from 89a0e71 to f6c4309 Compare September 26, 2019 06:08
Copy link
Copy Markdown

@zubair-arbi zubair-arbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the setup guide 👍

Update README:
    Update README according to Edly requirements.

Makefile:
    Change "requirements" rule to install php and composer

provision.sh:
    remove provision-wordpress.sh

provision-wordpress.sh:
    add "#!/bin/bash" at start of file.
@danialmalik danialmalik force-pushed the danial/fix-provision-update-readme branch from a861532 to a93321a Compare September 26, 2019 07:31
@danialmalik danialmalik merged commit 6299543 into edly/i Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants