jasonrhodes / local-dev-environment Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ncsuwebdev/local-dev-environment
Vagrant box used for a local development environment (with WRAP support)
This project forked from ncsuwebdev/local-dev-environment
Vagrant box used for a local development environment (with WRAP support)
Steps to make it happen ========================================================================= - By default, it will share the Apache docroot (located at /var/www/html) to your local folder of /usr/local/htdocs. You can change that if you'd like in the Vagrantfile. Just update the value for the config.vm.share_folder setting. - By default it forwards port 80 from the VM to port 8080 on your local machine. You can modify this setting in the Vagrantfile as well. Just update the config.vm.forward_port value to 80, 80 You'll need to make the /usr/local/htdocs folder (or whatever you set it to) yourself. 1) Install Vagrant (http://downloads.vagrantup.com/) 2) Install VirtualBox (https://www.virtualbox.org/wiki/Downloads) 3) In the directory with your server configs run: 'vagrant up' 4) Navigate to localhost:8080 and you should be good to go. ********************************** Note: For WRAP to work, you must be using host with a cname (i.e. - your-cname.unity.ncsu.edu:8080). Due to issues with the VM's networking, your "real" IP won't be forwarded to the VM. In order for WRAP to work correctly, you'll need to make sure you select "1 hour, any address" as the Cookie Type when logging in to WRAP. ********************************** By default, it will share the Apache docroot (located at /var/www/html) to your local /usr/local/htdocs folder. You can change that if you'd like in the Vagrantfile. Just update the value for the config.vm.share_folder setting. To hook up Sequel Pro to connect to the DB remotely ========================================================================= 1) Download Sequel Pro (http://www.sequelpro.com/download) 2) Make a new connection (set the following things and leave the rest as the defaults) Name: Vagrant Box (or whatever you want) MySQL Host: 127.0.0.1 Username: root SSH Host: 127.0.0.1 SSH User: vagrant SSH Key: ~/.vagrant.d/insecure_private_key SSH Port: 2222 3) Hit connect! 4) You're done! Use Sequel Pro like a boss. Connect to the VM with SSH ========================================================================= - From the directory of your configs, just do 'vagrant ssh' Note: sudo doesn't need a password or anything. Just do 'sudo -s' and you're good to go. Rerun the puppet configs without relaunching the VM ========================================================================= - From the directory of your configs, just do 'vagrant provision' Anything else ========================================================================= - From the directory of your configs, just do 'vagrant -h' for the list of commands available
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.