GithubHelp home page GithubHelp logo

kitchen's Introduction

Kitchen.

Vagrant Box for Development Environment.

Wait, wtf is this again?

This is a vagrant 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.
  • Download and install VirtualBox.
  • 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

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.

kitchen's People

Watchers

 avatar  avatar  avatar

Forkers

hungrilla

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.