One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <div class="row" id="box-search"> | |
| <div class="thumbnail text-center"> | |
| <img src="img/cafe.jpg" alt="" class="img-responsive"> | |
| <div class="caption"> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p> | |
| </div> | |
| </div> | |
| </div> |
| Testing with Internet Explorer / NAT Port Forwarding | |
| It is possible to connect to the rails server inside the linux virtual machine from the host computer. | |
| This allows testing the development site with Internet Explorer. | |
| Note: This assumes the CentOS vm is running in NAT networking mode. | |
| 1) Find out what ip address the vm is using. Open a terminal in the vm and run /sbin/ifconfig | |
| For this example the eth0 inet addr is 192.168.179.128. | |
| 2) Open System > Administration > Security Level and Firewall. (Enter the root password if necessary.) | |
| 3) On the "Firewall Options" tab, open the "Other ports" section and add ports 3000 and 8080. | |
| 4) Click ok and confirm the changes. | |
| 2) On the windows host, open C:\ProgramData\VMware\vmnetnat.conf with a text editor. |
| var mongoose = require('mongoose'); | |
| var Schema = mongoose.Schema; | |
| var assert = require('assert') | |
| console.log('\n==========='); | |
| console.log(' mongoose version: %s', mongoose.version); | |
| console.log('========\n\n'); | |
| var dbname = 'testing_geojsonPoint'; |