All Projects → welaika → wordless_gem

welaika / wordless_gem

Licence: MIT license
The quickest CLI tool to setup a new WordPress locally. Wordless ready.

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to wordless gem

cpsetup
Intuitive bash/shell script to setup and harden/configure cPanel CentOS/RHEL server with ConfigServer Firewall, MailManage, MailQueue, Malware Detect, ClamAV, mod_cloudflare, CloudFlare RailGun, and many more applications and security tweaks
Stars: ✭ 42 (+10.53%)
Mutual labels:  setup, installer
Elasticsearch Setup
elasticsearch oss installer for windows.
Stars: ✭ 74 (+94.74%)
Mutual labels:  setup, installer
vistir
Setup / utilities which most projects eventually need
Stars: ✭ 30 (-21.05%)
Mutual labels:  setup, development
awesome-scripts
Set of scripts that can do awesome stuff for developers
Stars: ✭ 16 (-57.89%)
Mutual labels:  setup, development
sloth-app
Sloth desktop app
Stars: ✭ 16 (-57.89%)
Mutual labels:  setup, installer
mac-dev-setup
An easy script to install your mac dev environment
Stars: ✭ 38 (+0%)
Mutual labels:  setup, development
Mpv Install
Sets up file associations for mpv on Windows
Stars: ✭ 305 (+702.63%)
Mutual labels:  setup, installer
Cra Build Watch
A script for create-react-app that writes development builds to the disk
Stars: ✭ 110 (+189.47%)
Mutual labels:  development, development-environment
gameshell-setup
Enhance your Gameshell 💪
Stars: ✭ 56 (+47.37%)
Mutual labels:  setup, installer
Formation
💻 macOS setup script for front-end development
Stars: ✭ 1,706 (+4389.47%)
Mutual labels:  setup, development
Docker Compose Starter
Run your development environment with a simple command using docker-compose 🚀
Stars: ✭ 159 (+318.42%)
Mutual labels:  development, development-environment
Docker-Stack
This repo contains a simple Docker setup with minimal configuration and only few files you can drop into many PHP-based projects.
Stars: ✭ 31 (-18.42%)
Mutual labels:  development, development-environment
Koding
The Simplest Way to Manage Your Entire Dev Infrastructure!
Stars: ✭ 1,945 (+5018.42%)
Mutual labels:  development, development-environment
dotfiles
🔨 My dotfiles for setting up my Macs with Ansible
Stars: ✭ 31 (-18.42%)
Mutual labels:  setup, development-environment
Laravel Paket
Composer GUI. Manage Laravel dependencies from web interface without switching to command line!
Stars: ✭ 143 (+276.32%)
Mutual labels:  development, installer
Mac Setup
🛠️ Front end web development setup for macOS.
Stars: ✭ 265 (+597.37%)
Mutual labels:  setup, development-environment
Ergo
The management of multiple apps running over different ports made easy
Stars: ✭ 452 (+1089.47%)
Mutual labels:  development, development-environment
Pric
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.
Stars: ✭ 87 (+128.95%)
Mutual labels:  development, development-environment
Installer
InnoSetup高仿有道云笔记安装程序的脚本模板,改一改背景图片就可以一键打包属于自己的美观的互联网风格的安装程序
Stars: ✭ 126 (+231.58%)
Mutual labels:  setup, installer
machine-setup
Powershell script which simplifies PC installation which primarily target devs but everyone can use it. Installs apps via chocolatey, nodejs and executes other specific commands.
Stars: ✭ 20 (-47.37%)
Mutual labels:  setup, development-environment

Wordless logo

The quickest CLI tool to setup a new WordPress locally. Wordless ready.

Premise

This is a ruby-gem, so we expect you have already installed ruby, since it is there by default on Mac and Linux; if it isn't the case, probably you'll like to take a look to rbenv.

Prerequisites

The only prerequisite that's up to you is to have the right version of node installed. Refer to https://wordless.readthedocs.io/en/latest/_pages/stack/node.html#node for the documentation.

The gem will try to nvm use into the theme during the process. If it won't work, it will fallback using global node version. If your global available node version won't match the required one, then the process will fail due to yarn compelling about version mismatch.

Installation

gem install wordless

Usage

wordless help

Tasks:
  wordless help [TASK]   # Describe available tasks or one specific task
  wordless new <NAME>    # Download WordPress in specified directory, install the Wordless plugin and create a Wordless theme

new

Create a new Wordless-enabled WordPress site in directory NAME. This downloads the latest stable release of WordPress (you can also specify a locale):

wordless new mysite
> wordless help new
Usage:
  wordless new <NAME>

Options:
      [--force]                          # Overwrite existing WP-CLI / WP-CLI Server installation
  -l, [--locale=LOCALE]                  # WordPress locale
                                         # Default: en_US
  -b, [--bare=BARE]                      # Remove default themes and plugins
                                         # Default: true
      [--admin-user=ADMIN_USER]          # WordPress admin user
                                         # Default: admin
      [--admin-email=ADMIN_EMAIL]        # WordPress admin email
                                         # Default: [email protected]
      [--admin-password=ADMIN_PASSWORD]  # WordPress admin password
                                         # Default: password
      [--db-user=DB_USER]                # MySQL database user
                                         # Default: root
      [--db-password=DB_PASSWORD]        # MySQL database pasword
      [--site-url=SITE_URL]              # Wordpress site URL
                                         # Default: http://localhost:8080

This command will:

  • Check if nodejs and necessary global modules are installed
  • Setup a new database
  • Install WP-CLI (prompt if already installed)
  • Download WordPress
  • Configure WordPress
  • Bootstrap and prepare a new Wordless theme
  • Make you a happier developer

A super short video to understand how much time a new development WordPress site should require to be up and running.

https://youtu.be/Tu1xMtMoahk

Notes

  • Be sure to have MySQL running before start the installation process: we have to create a database
  • Default db-password is no password. Use the --db-password= option if you have one
  • If a DB with the same name is already present, we will give up. Sorry.
  • If you attempt to download a WordPress localization that's outdated, the latest English version will be downloaded instead.
  • Not tested on Windows

Wordless < 2 ?

If you are still working with an old Wordless theme and you need the ruby-releated features of the wordless gem, you need to install the last version 1.x version released

gem uninstall wordless
gem install wordless -v '1.1.6'

and you can read the old README here

Running specs

bundle install && ./bin/setup.sh && rspec

We've noticed problems running tests while using rvm; all of them solved using rbenv. We have some clues about the problem, but we are ignoring it at the moment. We have switched the CI tool to sempaphore, which use rbenv, so pull requests will be tested in a working environement.

Need more tools?

Visit Wordpress Tools.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add some specs
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Author

made with ❤️ and ☕️ by weLaika

License

(The MIT License)

Copyright © 2012-2019 weLaika

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].