https://github.com/beefsack/vagrant-meteor
Vagrant config for meteor.js development on any OS
https://github.com/beefsack/vagrant-meteor
Last synced: 4 months ago
JSON representation
Vagrant config for meteor.js development on any OS
- Host: GitHub
- URL: https://github.com/beefsack/vagrant-meteor
- Owner: beefsack
- Created: 2013-06-21T01:23:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-21T02:36:32.000Z (over 12 years ago)
- Last Synced: 2024-05-02T05:35:28.777Z (over 1 year ago)
- Language: Ruby
- Size: 106 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vagrant-meteor
==============
vagrant-meteor is a tool to help run Meteor silently in a VM to ease
installation and usage.
vagrant-meteor uses [Vagrant](http://www.vagrantup.com/) to create an Ubuntu
image, install Meteor and other required packages, and expose it to the user.
Installation
------------
First, use Git to clone this repo to your computer somewhere with `git clone
--recursive https://github.com/beefsack/vagrant-meteor.git`.
Then, install [Vagrant](http://downloads.vagrantup.com/) and
[VirtualBox](https://www.virtualbox.org/wiki/Downloads). VirtualBox is used to
run the VM silently in the background.
Usage
-----
Use your command line to change to the directory where you cloned this repo
earlier, ie. `cd ~/vagrant-meteor`.
Start Vagrant to create and run the VM using `vagrant up`. This will download
Ubuntu and configure the VM automatically, and can take a few minutes.
Connect into the VM by using `vagrant ssh`. This will connect you into the
image, with zsh as the shell.
You can now create a project to start working on using `mrt create my-app`.
[Meteorite](http://oortcloud.github.io/meteorite/) is installed to make meteor
and meteor package management much simpler, so it may be better to use the `mrt`
command in general instead of the `meteor` command, though you can use either.
Once you have created the project, you will notice a `my-app` directory will
have appeared in your vagrant-meteor directory. You can edit the code inside
this directory as it is automatically synced into the VM.
You can run the app inside the VM by running `cd my-app` and `mrt`. Your local
port 3000 is redirected into the Vagrant VM, so when you are running meteor
apps, you can open a web browser and navigate to http://localhost:3000 to view
it.
When you are finished doing work, you can use `vagrant halt` to stop the VM.