Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation][Cookbook] Cloudways deployment guide #8823

Merged
merged 2 commits into from
Oct 17, 2017

Conversation

CoderMaggie
Copy link
Member

Q A
Branch? 1.0
New docs? yes
Related tickets instead of #8821
License MIT

We've got this guide thanks to @shahroznawaz, I just did minor tweaks and a rebase :)

@CoderMaggie CoderMaggie added the Documentation Documentation related issues and PRs - requests, fixes, proposals. label Oct 11, 2017
@CoderMaggie CoderMaggie added this to the 1.0 milestone Oct 11, 2017
How to deploy Sylius to Cloudways PHP Hosting?
==============================================

Cloudways is a managed hosting platform for custom PHP apps and PHP frameworks such as Symfony, Laravel, Codeigniter, Yii
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing comma at the end of line

Cloudways is a managed hosting platform for custom PHP apps and PHP frameworks such as Symfony, Laravel, Codeigniter, Yii
CakePHP etc. You can launch the servers on any of the five providers including DigitalOcean, Vultr, AWS, GCE and KYUP containers.

The deployment process of Sylius on Cloudways is pretty much straight forward and easy.
Copy link
Contributor

Choose a reason for hiding this comment

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

"straight forward" -> "straightforward" IIRC :)


Now let’s start the process of installing Sylius on Cloudways.

2. Install Sylius v1.0.0 via SSH
Copy link
Contributor

Choose a reason for hiding this comment

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

We can skip the version as you'd like to install the latest one, not excatly 1.0.0


.. code-block:: bash

$ composer create-project -s beta sylius/sylius-standard myshop
Copy link
Contributor

Choose a reason for hiding this comment

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

-s beta should be removed


Sylius requires several Node packages, which also needs to be installed and updated before setting up the shop. In addition, I also need to start and setup gulp.

Now move to the myshop folder by using ``cd myshop`` and run the following command ``yarn install``. Once the command finishes, run the next command, `yarn run gulp`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Double backticks missing for the last command

3. Install Node Dependencies
----------------------------

Sylius requires several Node packages, which also needs to be installed and updated before setting up the shop. In addition, I also need to start and setup gulp.
Copy link
Contributor

Choose a reason for hiding this comment

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

gulp -> Gulp

4. Populate the Database and Sylius
-----------------------------------

Comment out the three lines in ``config_dev.yml`` file.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about this one, IMHO install command should be run with -e prod instead.

@CoderMaggie CoderMaggie force-pushed the cloudways branch 4 times, most recently from a3376b9 to 9fe2bb2 Compare October 15, 2017 11:53
@CoderMaggie
Copy link
Member Author

@pamil review again? It's green finally!

@pamil pamil merged commit d6c5cdd into Sylius:1.0 Oct 17, 2017
@pamil
Copy link
Contributor

pamil commented Oct 17, 2017

Thanks @shahroznawaz and @CoderMaggie! 🎉

@shahroznawaz
Copy link
Contributor

Great work Guys @CoderMaggie @pamil @GSadee. You all are Gem :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation related issues and PRs - requests, fixes, proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants