Git Product home page Git Product logo

courses-lando's Introduction

Lando, the tool: Docker Human Friendly

Code examples for WordCamp Spain Online 2020

Training

https://www.jjpeleato.com/courses/lando/

Installing

git clone https://github.com/jjpeleato/courses-lando.git

Installing dependencies

Note: If you work with Windows. To execute the commands, we recommend installing Cygwin http://www.cygwin.com/

Note: I recommend installing the following IDE for programming: Visual Studio Code (https://code.visualstudio.com/) or PHPStorm (recommended) (https://www.jetbrains.com/phpstorm/).

Content

  • Example 1: In the first example you can see a basic WordPress recipe.
  • Example 2: In the second example you can see a basic WordPress recipe, proxy system, custom services like PhpMyAdmin and custom webroot.
  • Example 3: In the third example you can see a basic WordPress recipe, proxy system, custom config to PHP and older version, custom services like PhpMyAdmin and custom webroot.
  • Example 4: In the fourth example you can see a LandoFile without recipe, a basic config with Nginx, PHP 7.4, Node.js, npm, gulp and composer.
  • Example 5: In the fifth example you can see the most complete LandoFile. The environment uses the following services and tools: Apache 2.4, PHP 7.4, Composer, PHP_CodeSniffer, Node.js, NPM, Yarn, Gulp, MariaDB, Mailhog, PhpMyAdmin and Deployer.

Plus

cd plus/

# Initialize a wordpress recipe using the latest WordPress version
lando init \
  --source remote \
  --remote-url https://wordpress.org/latest.tar.gz \
  --recipe wordpress \
  --webroot wordpress \
  --name my-first-wordpress-app

# Start it up
lando start

# Create WP-CONFIG with WP-CLI
lando wp config create --path=wordpress --dbhost=database --dbname=wordpress --dbuser=wordpress --dbpass=wordpress --dbprefix=lando_

# List information about this app.
lando info

Technologies and tools

The present project uses several technologies and tools for the automation and development process. For more information and learning visit the following links.

  1. WordPress: https://wordpress.org/
  2. Lando: https://docs.devwithlando.io/
  3. Docker: https://www.docker.com/
  4. Git: https://git-scm.com/
  5. Apache: https://www.apache.org/
  6. Nginx: https://www.nginx.com/
  7. MariaDB: https://mariadb.org/
  8. MySQL: https://www.mysql.com/
  9. PHP: https://www.php.net/
  10. Composer: https://getcomposer.org/
  11. PHP_CodeSniffer: https://github.com/squizlabs/PHP_CodeSniffer
  12. PhpMyAdmin: https://www.phpmyadmin.net/
  13. Deployer: https://deployer.org/
  14. Node.js: https://nodejs.org/
  15. NPM: https://www.npmjs.com/
  16. Yarn: https://yarnpkg.com/
  17. Gulp: https://gulpjs.com/
  18. Mailhog: https://github.com/mailhog/MailHog
  19. EditorConfig: https://editorconfig.org/

Note: Thanks a lot of developers that to work on this projects.

Clarifications

  1. It is possible that on Mac OS the Gulp tasks do not run the correct form. In this case install NodeJS, NPM and Gulp-cli in your OS and execute the tasks outside the Docker containers.

Finally

More information on the following commits. If required.

Grettings @jjpeleato.

courses-lando's People

Contributors

jjpeleato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.