https://github.com/electronvector/vagrant-meteor
For running Meteor apps from Vagrant on a Windows host.
https://github.com/electronvector/vagrant-meteor
Last synced: 10 months ago
JSON representation
For running Meteor apps from Vagrant on a Windows host.
- Host: GitHub
- URL: https://github.com/electronvector/vagrant-meteor
- Owner: ElectronVector
- Created: 2014-11-08T05:35:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-08T06:07:22.000Z (over 11 years ago)
- Last Synced: 2025-04-05T07:33:00.546Z (10 months ago)
- Language: Shell
- Size: 129 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a Vagrant configuration for running Meteor apps on Ubuntu 14.04, for use with a Windows host.
## Background
By default, a Meteor app can't be run in the host-shared vagrant folder, because there are issues with the permissions for MongoDB. To work around this, the Vagrantfile enables symlinks on the shared folder.
The Vagrantfile also:
- Provisions the VM by installing Meteor.
- Enables port forwarding on the VM for the default meteor port.
**Note: On Windows, the shell that runs `vagrant up` and `vagrant ssh` must be run as administrator.**
## Instructions
Start up the Vagrant VM:
```
> vagrant up
```
SSH into the Vagrant VM:
```
> vagrant ssh
```
Create a meteor project in the /vagrant shared folder:
```
$ cd /vagrant
$ meteor create myapp
```
Run the script to setup the local folder:
```
$ ./setup-local.sh myapp
```
Run your meteor app:
```
$ cd myapp
$ meteor
```
Point a browser on your host to [http://localhost:3000](http://localhost:3000). You should see the meteor app.