Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
MAGEDOC-2675: Update README in 'magento/devdocs'
Browse files Browse the repository at this point in the history
- removed /vagrant
- updated README
  • Loading branch information
dshevtsov committed Nov 13, 2017
1 parent 89cbee1 commit ecf6e21
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 204 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,45 @@ To contribute, please fork the `develop` branch.

# Building this site

You can build this site locally using Jekyll
You can build this site locally in the following ways:

- [using installed Jekyll](#build-using-jekyll) (Mac, Linux)
- [in a Docker container](#build-using-docker) (Mac, Linux)
- [on a virtual machine using Vagrant](#build-using-vagrant) (Mac, Linux, Windows)

* Windows users _must_ build the site in a Vagrant container running on Virtual Box as discussed in more detail in the [Vagrant README](vagrant/README.md).

We use symbolic links (symlinks) in the `guides/v2.1` directory to link to topics that haven't changed since the 2.0.x release. Because symlinks aren't supported by Windows, you _cannot_ use the Windows environment; you must use a Linux environment.

* Mac and Linux users can build this site locally using Jekyll or you can use Vagrant.

Vagrant might be easier because the software runs in a container that isn't dependent on, and cannot conflict with, any other software installed on your computer.

## Build using Vagrant

To build the site locally using Vagrant you need only the files in the `vagrant/` directory.
For more information, see the [Vagrant README](vagrant/README.md).

## Requirements
## <a name="build-using-jekyll"> Build using Jekyll

Currently, building this site requires:

* Ruby Version: >= 2.0.0

Use [bundler](http://bundler.io/) to get compatible versions of other dependencies.
* [Ruby v.2.4.x+](https://www.ruby-lang.org)
* [bundler v.1.16.x+](http://bundler.io/)

## Build locally in Mac or Linux

To build this site locally:
To build this site locally, clone this repository and run in the _devdocs_ directory:

```bash
# Install dependencies
$ bundle install

# Visit http://localhost:4000 in your favorite browser!
# Run Jekyll server to generate local website
$ bin/jekyll serve --incremental
```

Visit http://localhost:4000 in your favorite browser!

## <a name="build-using-docker"> Build using Docker

[This Docker container](https://github.com/jcalcaben/docker-for-devdocs) contains everything necessary to run Jekyll3 for working with Magento DevDocs.

## <a name="build-using-vagrant"> Build using Vagrant

You can deploy the devdocs site locally using [this Vagrant project](https://github.com/dshevtsov/magento-devdocs-vagrant).

***

If you have questions, open an issue and ask us. We're looking forward to hearing from you!

* <a href="https://twitter.com/MagentoDevDocs" class="twitter-follow-button" data-show-count="false">Follow @MagentoDevDocs</a>

* <a href="mailto:DL-Magento-Doc-Feedback@magento.com">E-mail us</a>

* <a href="http://devdocs.magento.com">Visit our documentation site</a>, built on GitHub using [Jekyll](http://jekyllrb.com/).
* <a href="http://devdocs.magento.com">Visit our documentation site</a>, built using [GitHub pages](https://pages.github.com/).
114 changes: 0 additions & 114 deletions vagrant/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions vagrant/Vagrantfile

This file was deleted.

41 changes: 0 additions & 41 deletions vagrant/bootstrap.sh

This file was deleted.

0 comments on commit ecf6e21

Please sign in to comment.