A developer's virtual butler.
Project description
NOTE: THIS IS AT THE MOMENT (FEB 2014) ALPHA SOFTWARE AND IT’S STILL FAR FROM BEING ABLE TO DO WHAT’S DESCRIBED BELOW. SOON, THOUGH.
Jaime is a programmer’s “code butler”. It is designed to help you get up to speed on a new project, whatever that means. For instance, let’s say you want to start a new WordPress-based Website:
- $ jaime wp new –domain example.com –codename sputnik –webserver nginx
–db mariadb –codehost bitbucket –branching simple
Assuming Jaime has your API keys and/or logins for all the services involved, the above command would register example.com on Namecheap, create a new code project with the codename “sputnik”, generate nginx config files, setup WordPress on a git repository using the “simple” branching strategy, create a private project on BitBucket, and setup your git remotes. Let’s say now you want to start working on your project, no problem:
# Setup MariaDB user and database for WordPress, configure nginx for the # project, and point example.com to localhost via the /etc/hosts file. $ jaime wp setup dev
# Install a couple WP plugins $ jaime wp plugin install NAME1 NAME2
# Make sure WP is up to date and upgrade it if it’s not $ jaime wp upgrade –version latest
# Let’s setup Varnish… $ jaime wp varnish
# And let’s activate the Varnish config $ jaime wp setup dev
# Work on WP on the browser…
# All done. Let’s deploy to a new server using our local DB. $ jaime wp deploy –host digitalocean –db copy