From a37ba5c477a409b831024b6fdbce74c0ea81e2f6 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Wed, 22 Feb 2017 23:08:54 -0500 Subject: [PATCH] solve the sidebar problem in the docs --- docs/_settings/config.toml | 6 +- docs/_settings/content/index.md | 195 +----- docs/_settings/content/introduction/index.md | 196 ++++++ docs/contributing/index.html | 48 +- docs/documentation/index.html | 48 +- docs/getting-started/index.html | 52 +- docs/help/index.html | 48 +- docs/index.html | 59 +- docs/index.xml | 17 +- docs/introduction/index.html | 660 +++++++++++++++++++ docs/introduction/index.xml | 205 ++++++ docs/license/index.html | 48 +- docs/related-projects/index.html | 48 +- docs/sitemap.xml | 11 +- 14 files changed, 1363 insertions(+), 278 deletions(-) create mode 100644 docs/_settings/content/introduction/index.md create mode 100644 docs/introduction/index.html create mode 100644 docs/introduction/index.xml diff --git a/docs/_settings/config.toml b/docs/_settings/config.toml index 10ad4a3e..67fda545 100644 --- a/docs/_settings/config.toml +++ b/docs/_settings/config.toml @@ -19,7 +19,7 @@ googleAnalytics = "UA-37514928-9" repo_url = "https://github.com/laradock/laradock" version = "" - logo = "images/logo.png" + logo = "" favicon = "" permalink = "#" @@ -47,8 +47,8 @@ googleAnalytics = "UA-37514928-9" # ------- MENU START ----------------------------------------- [[menu.main]] - name = "Overview" - url = "/" + name = "Introduction" + url = "introduction/" weight = 1 [[menu.main]] diff --git a/docs/_settings/content/index.md b/docs/_settings/content/index.md index bb561f0a..56c08a8f 100644 --- a/docs/_settings/content/index.md +++ b/docs/_settings/content/index.md @@ -1,196 +1,5 @@ --- -title: Overview +title: Welcome type: index -weight: 1 +weight: 0 --- - -LaraDock strives to make the PHP development experience easier and faster. - -It contains pre-packaged Docker Images that provides you a wonderful *development* environment without requiring you to install PHP, NGINX, MySQL, Redis, and any other software on your machines. - -LaraDock is configured to run Laravel Apps by default, and it can be modified to run all kinds of PHP Apps (Symfony, CodeIgniter, WordPress, Drupal...). - - - - -## Quick Overview: - -Let's see how easy it is to install `NGINX`, `PHP`, `Composer`, `MySQL`, `Redis` and `beanstalkd`: - -1 - Clone LaraDock inside your PHP project: - -```shell -git clone https://github.com/Laradock/laradock.git -``` - -2 - Enter the laradock folder and run this command: - -```shell -docker-compose up -d nginx mysql redis beanstalkd -``` - -3 - Open your `.env` file and set the following: - -```shell -DB_HOST=mysql -REDIS_HOST=redis -QUEUE_HOST=beanstalkd -``` - -4 - Open your browser and visit localhost: `http://localhost`. - -```shell -That's it! enjoy :) -``` - - - - - - - - -## What is Docker? - -[Docker](https://www.docker.com) is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of [operating-system-level virtualization](https://en.wikipedia.org/wiki/Operating-system-level_virtualization) on Linux, Mac OS and Windows. - - - - - - - -## Why Docker not Vagrant!? - -[Vagrant](https://www.vagrantup.com) creates Virtual Machines in minutes while Docker creates Virtual Containers in seconds. - -Instead of providing a full Virtual Machines, like you get with Vagrant, Docker provides you **lightweight** Virtual Containers, that share the same kernel and allow to safely execute independent processes. - -In addition to the speed, Docker gives tons of features that cannot be achieved with Vagrant. - -Most importantly Docker can run on Development and on Production (same environment everywhere). While Vagrant is designed for Development only, (so you have to re-provision your server on Production every time). - - - - - - - -## LaraDock VS Homestead (For Laravel Developers) - -> LaraDock It's like Laravel Homestead but for Docker instead of Vagrant. - -LaraDock and [Homestead](https://laravel.com/docs/master/homestead) both give you complete virtual development environments. (Without the need to install and configure every single software on your own Operating System). - -- Homestead is a tool that controls Vagrant for you (using Homestead special commands). And Vagrant manages your Virtual Machine. - -- LaraDock is a tool that controls Docker for you (using Docker & Docker Compose official commands). And Docker manages your Virtual Containers. - -Running a virtual container is much faster than running a full virtual Machine. Thus **LaraDock is much faster than Homestead**. - - - - - - - - - -## Demo Video - -What's better than a **Demo Video**: - -- LaraDock [v4.*](https://www.youtube.com/watch?v=TQii1jDa96Y) -- LaraDock [v2.*](https://www.youtube.com/watch?v=-DamFMczwDA) -- LaraDock [v0.3](https://www.youtube.com/watch?v=jGkyO6Is_aI) -- LaraDock [v0.1](https://www.youtube.com/watch?v=3YQsHe6oF80) - - - - - - - - -## Features - -- Easy switch between PHP versions: 7.0, 5.6, 5.5... -- Choose your favorite database engine: MySQL, Postgres, MariaDB... -- Run your own combination of software: Memcached, HHVM, Beanstalkd... -- Every software runs on a separate container: PHP-FPM, NGINX, PHP-CLI... -- Easy to customize any container, with simple edit to the `Dockerfile`. -- All Images extends from an official base Image. (Trusted base Images). -- Pre-configured NGINX for Laravel. -- Easy to apply configurations inside containers. -- Clean and well structured Dockerfiles (`Dockerfile`). -- Latest version of the Docker Compose file (`docker-compose`). -- Everything is visible and editable. -- Fast Images Builds. -- More to come every week.. - - - - - - - - -## Supported Software (Containers) - -- **Database Engines:** - - MySQL - - PostgreSQL - - MariaDB - - MongoDB - - Neo4j - - RethinkDB -- **Cache Engines:** - - Redis - - Memcached - - Aerospike -- **PHP Servers:** - - NGINX - - Apache2 - - Caddy -- **PHP Compilers:** - - PHP-FPM - - HHVM -- **Message Queuing Systems:** - - Beanstalkd - - Beanstalkd Console - - RabbitMQ - - RabbitMQ Console -- **Tools:** - - PhpMyAdmin - - PgAdmin - - ElasticSearch - - Selenium - - Workspace - - PHP7-CLI - - Composer - - Git - - Linuxbrew - - Node - - Gulp - - SQLite - - xDebug - - Envoy - - Deployer - - Vim - - Yarn - - ... Many other supported tools are not documented. (Will be updated soon) - ->If you can't find your Software, build it yourself and add it to this list. Contributions are welcomed :) - - - - - - - - -## Chat with us - -You are welcome to join our chat room on Gitter. - -[![Gitter](https://badges.gitter.im/LaraDock/laradock.svg)](https://gitter.im/LaraDock/laradock?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) diff --git a/docs/_settings/content/introduction/index.md b/docs/_settings/content/introduction/index.md new file mode 100644 index 00000000..850796c0 --- /dev/null +++ b/docs/_settings/content/introduction/index.md @@ -0,0 +1,196 @@ +--- +title: Introduction +type: index +weight: 1 +--- + +LaraDock strives to make the PHP development experience easier and faster. + +It contains pre-packaged Docker Images that provides you a wonderful *development* environment without requiring you to install PHP, NGINX, MySQL, Redis, and any other software on your machines. + +LaraDock is configured to run Laravel Apps by default, and it can be modified to run all kinds of PHP Apps (Symfony, CodeIgniter, WordPress, Drupal...). + + + + +## Quick Overview + +Let's see how easy it is to install `NGINX`, `PHP`, `Composer`, `MySQL`, `Redis` and `beanstalkd`: + +1 - Clone LaraDock inside your PHP project: + +```shell +git clone https://github.com/Laradock/laradock.git +``` + +2 - Enter the laradock folder and run this command: + +```shell +docker-compose up -d nginx mysql redis beanstalkd +``` + +3 - Open your `.env` file and set the following: + +```shell +DB_HOST=mysql +REDIS_HOST=redis +QUEUE_HOST=beanstalkd +``` + +4 - Open your browser and visit localhost: `http://localhost`. + +```shell +That's it! enjoy :) +``` + + + + + + + + +## What is Docker? + +[Docker](https://www.docker.com) is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of [operating-system-level virtualization](https://en.wikipedia.org/wiki/Operating-system-level_virtualization) on Linux, Mac OS and Windows. + + + + + + + +## Why Docker not Vagrant!? + +[Vagrant](https://www.vagrantup.com) creates Virtual Machines in minutes while Docker creates Virtual Containers in seconds. + +Instead of providing a full Virtual Machines, like you get with Vagrant, Docker provides you **lightweight** Virtual Containers, that share the same kernel and allow to safely execute independent processes. + +In addition to the speed, Docker gives tons of features that cannot be achieved with Vagrant. + +Most importantly Docker can run on Development and on Production (same environment everywhere). While Vagrant is designed for Development only, (so you have to re-provision your server on Production every time). + + + + + + + +## LaraDock VS Homestead (For Laravel Developers) + +> LaraDock It's like Laravel Homestead but for Docker instead of Vagrant. + +LaraDock and [Homestead](https://laravel.com/docs/master/homestead) both give you complete virtual development environments. (Without the need to install and configure every single software on your own Operating System). + +- Homestead is a tool that controls Vagrant for you (using Homestead special commands). And Vagrant manages your Virtual Machine. + +- LaraDock is a tool that controls Docker for you (using Docker & Docker Compose official commands). And Docker manages your Virtual Containers. + +Running a virtual container is much faster than running a full virtual Machine. Thus **LaraDock is much faster than Homestead**. + + + + + + + + + +## Demo Video + +What's better than a **Demo Video**: + +- LaraDock [v4.*](https://www.youtube.com/watch?v=TQii1jDa96Y) +- LaraDock [v2.*](https://www.youtube.com/watch?v=-DamFMczwDA) +- LaraDock [v0.3](https://www.youtube.com/watch?v=jGkyO6Is_aI) +- LaraDock [v0.1](https://www.youtube.com/watch?v=3YQsHe6oF80) + + + + + + + + +## Features + +- Easy switch between PHP versions: 7.0, 5.6, 5.5... +- Choose your favorite database engine: MySQL, Postgres, MariaDB... +- Run your own combination of software: Memcached, HHVM, Beanstalkd... +- Every software runs on a separate container: PHP-FPM, NGINX, PHP-CLI... +- Easy to customize any container, with simple edit to the `Dockerfile`. +- All Images extends from an official base Image. (Trusted base Images). +- Pre-configured NGINX for Laravel. +- Easy to apply configurations inside containers. +- Clean and well structured Dockerfiles (`Dockerfile`). +- Latest version of the Docker Compose file (`docker-compose`). +- Everything is visible and editable. +- Fast Images Builds. +- More to come every week.. + + + + + + + + +## Supported Software (Containers) + +- **Database Engines:** + - MySQL + - PostgreSQL + - MariaDB + - MongoDB + - Neo4j + - RethinkDB +- **Cache Engines:** + - Redis + - Memcached + - Aerospike +- **PHP Servers:** + - NGINX + - Apache2 + - Caddy +- **PHP Compilers:** + - PHP-FPM + - HHVM +- **Message Queuing Systems:** + - Beanstalkd + - Beanstalkd Console + - RabbitMQ + - RabbitMQ Console +- **Tools:** + - PhpMyAdmin + - PgAdmin + - ElasticSearch + - Selenium + - Workspace + - PHP7-CLI + - Composer + - Git + - Linuxbrew + - Node + - Gulp + - SQLite + - xDebug + - Envoy + - Deployer + - Vim + - Yarn + - ... Many other supported tools are not documented. (Will be updated soon) + +>If you can't find your Software, build it yourself and add it to this list. Contributions are welcomed :) + + + + + + + + +## Chat with us + +You are welcome to join our chat room on Gitter. + +[![Gitter](https://badges.gitter.im/LaraDock/laradock.svg)](https://gitter.im/LaraDock/laradock?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) diff --git a/docs/contributing/index.html b/docs/contributing/index.html index 6385d52d..81dff3ce 100644 --- a/docs/contributing/index.html +++ b/docs/contributing/index.html @@ -22,7 +22,7 @@ - + @@ -55,13 +55,13 @@ - + @@ -133,10 +133,6 @@