Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umayr/kitchen
Vagrant Box for Development Environment.
https://github.com/umayr/kitchen
Last synced: about 15 hours ago
JSON representation
Vagrant Box for Development Environment.
- Host: GitHub
- URL: https://github.com/umayr/kitchen
- Owner: umayr
- License: mit
- Created: 2015-06-06T13:24:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-07T09:23:21.000Z (over 9 years ago)
- Last Synced: 2023-03-23T02:19:16.197Z (over 1 year ago)
- Language: Ruby
- Size: 605 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kitchen.
Vagrant Box for Development Environment.### Wait, wtf is this again?
This is a [vagrant](http://vagrantup.com) box for a complete webdevelopment workspace. It includes `nginx`, `nodejs`, `mysql`, `vim`, `git` and `build-essentials`. Along with these cookbooks, it installs several `npm` packages globally such as `grunt-cli`, `nodemon`, `bower` etc. Everything that is necessary to set up virtual environment to run hungrilla api.
### Cool, so how does it work?
- Download and install [Vagrant](http://www.vagrantup.com/downloads.html).
- Download and install [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
- Clone this repository: `git clone https://github.com/hungrilla/kitchen.git` in the same directory where `garcon` & `potato` are cloned. (If they are somewhere else, you may need to change paths in `Vagrantfile`)
- Move into the clone repository.
- Write `vagrant up`. And tada~ (P.S. It may take while for the first time.)### Hey, mysql command line doesn't work?
If you log into the machine and type `mysql`, you may see an error
like this one:`Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'`
This is because MySQL is hardcoded to read the defined default my.cnf
file, typically at /etc/my.cnf, and this LWRP deletes it to prevent
overlap among multiple MySQL configurations.To connect to the socket from the command line, check the socket in the relevant my.cnf file and use something like this:
`mysql -S /var/run/mysql-default/mysqld.sock -Pwhatever`
Or to connect over the network, use something like this:
connect over the network..`mysql -h 127.0.0.1 -Pwhatever`
For more information: [Link](https://github.com/chef-cookbooks/mysql/)
### Something is broke, what should I do?
Create an issue or be a gentleman and send a PR. If you're not willing to do either of those then suck it up.