git checkout master # you can avoid this line if you are in master... git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin git branch -D gh-pages # delete the local gh-pages because you will need it: ref
Install MySQL on macOS Sierra
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
Execute the shell script:
Configure a proxy using nginx or apache to http://ci.company.example.com.br(I'll use this URL as example).
|# The MIT License (MIT)|
|# Copyright (c) 2014 Matthias Eisen (http://www.matthiaseisen.com)|
|# Permission is hereby granted, free of charge, to any person obtaining a copy|
|# of this software and associated documentation files (the "Software"), to deal|
|# in the Software without restriction, including without limitation the rights|
|# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell|
|# copies of the Software, and to permit persons to whom the Software is|
|# furnished to do so, subject to the following conditions:|