Skip to content
Roni Laukkarinen edited this page Aug 16, 2022 · 9 revisions

Dudestack - A modern WordPress development environment

This is a development manual for a digital agency called Dude (Digitoimisto Dude Oy), check out the company website where @ronilaukkarinen is the head of technical development at the moment. Dude is using plenty of tools, apps, modules, frameworks which together are called "stack". Dudestack-instructions contains information about these tools and instructions on how to set up a similar stack.

This wiki and instructions exist only because Dude's envinroment setup is growing in a fast pace and there's simply too many repositories to consider when building the stack from scratch.

The instructions assume that you don't have anything pre-installed. If you have something installed, please just skip the step. Scroll down to Installation.

We hope you enjoy!

Requirements

  • You need to have a Mac. We have successfully got this working on Windows 10 and WSL. Check out this guide here. However we don't use Windows professionally and do not recommend it as a main development device
  • You are not scared of command line and tinkering

Setting up

These will be installed if you follow the instructions:

Install requirements

  1. Install latest version of XCode to get necessary utils. Apple's XCode development software is used to build Mac and iOS apps, but it also includes the tools you need to compile software for use on your Mac. XCode is free and you can also find it in the App Store.
  2. Install Xcode Command Line Tools by running 'xcode-select --install'
  3. Install . Open Terminal and run ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" to download latest version of Homebrew
  4. Run brew install caskroom/cask/brew-cask to get Homebrew Cask
  5. Install latest version of rvm with curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --rails to get ruby working
  6. Install latest version of Git with brew install git
  7. Install latest version of Composer with curl -sS https://getcomposer.org/installer | php && sudo mv composer.phar /usr/local/bin/composer && sudo chmod +x /usr/local/bin/composer

Install macOS LEMP

Follow the Installation instructions of native LEMP components on Mac

Install dudestack

  1. Clone dudestack to your Projects directory with cd ~/Projects && git clone https://github.com/digitoimistodude/dudestack
  2. Run cd ~/Projects/dudestack && sh bin/macos.sh and complete the setup process
  3. Run createproject and wait the script to run through. Note: It's intended that every project name is one word, written in lowercase.

Install starter theme

Follow the Installation instructions in air theme repository.

Building blocks for front end

Check out our Awesome Front end list.

Building block for back end

Not yet.