Giter VIP home page Giter VIP logo

skeletor's Introduction

โš ๏ธ Deprecated

skeletor hasn't been updated for a long time and basically it's just a clone of Seravo's WordPress base.

Prefer to use Seravo's WordPress base instead of this. Even better, use 'theme-skeletor' with Docker, if you can.

redandblue.fi

redandblue skeletor

Duplicated from seravo/wordpress, More instructions coming up ..

Seravo wordpress docs / information

Skeletor installation

  • https://seravo.com/docs/development/how-to-install/

  • cp config-sample.yml config.yml

  • Add correct project name to config file

  • cp theme-info-sample.sh to theme-info.sh

  • Add the correct project filenames to variables

  • chmod 0775 theme-info.sh to make it executable

  • cp vagrant-up-customizer-sample.sh to vagrant-up-customizer.sh

  • Change DESTSITE to correct theme / git repo

Example from vagrant-up-customizer.sh bash script that is executed on vagrant up / composer update

  • When running for the first time it will clone the DESTSITE repository to the DESTDIR location.
  • Make sure that DESTSITE matches the name of the Github repository
#!/bin/bash
# A simple script for composer to load up themes

# Credentials
DESTDIR=htdocs/wp-content/themes
DESTSITE=your-theme-name
GITURL=https://github.com/redandbluefi

if [ -e $DESTDIR/$DESTSITE ]

then
    echo "Theme folder found, running npm tasks"
    cd $DESTDIR/$DESTSITE; npm install; npm run build
else
    echo "Theme folder NOT found, creating a new one.."
    cd $DESTDIR;
    git clone $GITURL/$DESTSITE;
    cd $DESTSITE; npm install; npm run build
fi


Credentials for vagrant

WordPress:

user:     vagrant
password: vagrant

MariaDB (MySQL):

user:     root
password: root

Configuration

config.yml

Change name in config.yml to change your site name. This is used in quite some places in development environment.

Add production => domain and production => ssh_port to sync with your production instance.

Add new domains under development => domains before first vagrant up to have extra domains.

See config-sample.yml for more

WordPress plugins

The composer.json contains some plugins and themes that are likely to be useful for pretty much every installation. For particular use cases see our list of recommended plugins at http://wp-palvelu.fi/lisaosat/

Note that all plugins are installed, but not active by default. To activate them, run vagrant ssh -c "wp plugin activate --all".

skeletor's People

Contributors

onnimonni avatar ottok avatar k1sul1 avatar hellenic avatar runomarsista avatar zarubaru avatar spktklr avatar ssaarikangas avatar tnottu avatar

Watchers

James Cloos avatar Jari Savolainen 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.