Rove Using Vagrant for repeatable local web development For the moment, I’ve an idea of use of independent environments, which could be shared between our devs team, which works on Linux and Windows workstations. So, file ressources could be hosted on parent OS and virtual machine contains real development environment, and the logic is porcessed by the virtual machine, which contains the environment, identic to production server. The dB is shared between all developers, but each developer has it’s own virtual environment, with files which are shared between guest and host. Web developer works in a folder which is shared between Vagrant and his host machine. The files are externalized from virtual machine. So the developer could use tools from main OS to get maximum comfort and productivity. Each developer machine could be accessed from an external location by a web browser. Each vagrant machine of each developer could be managed from an external location by SSH, to provide maximum of automation. VM machine creation and use
Todd Way Easy local stack management with Vagrant I’m using Vagrant to hand-off complete copies of my local development environment to other members of my team. This is a great way to lower setup time, isolate dependencies and eliminate inconsistencies. Frontend developers are able to work against a full local environment without wasting time on backend configuration. The following describes how Vagrant can make this possible without any additional provisioning tools. Those tools are powerful and offer even more efficiencies, but we’re leaving them out in the interest of simplicity. A sample environment On my MacBook Pro, I built a VM that runs the entire technology stack for a web application I’m currently working on called Jude. Vagrant, Chef, and the Drupal Vagrant project made most of this configuration automatic, but manual configuration would have worked just as well. Sample workflow for spinning up a new VM copy Step 1: Package the source VM Step 2: Install the target VM vagrant up
Creating a Custom Vagrant Box from Scratch | Ryan Skoblenick We begin by understanding what a “.box” file is. A Vagrant “.box” is simply a tarred gzip package containing, at minimum, the VM’s metafiles, disk image(s), and a metadata.json; which identifies the provider the box has been created for. Other optional supporting files, such as a custom Vagrantfile, can be packaged with the box if desired. Sanity check A quick sanity test. Our Host This article assumes an OS X development environment. Apple OS X Mountain Lion (10.7.5)VirtualBox 4.2.12VMware Fusion 5.0.4Vagrant 1.2.2Vagrant’s VMware Fusion provider 0.6.3 with a valid license. Potential Guests All tested Guests are 64-bit distributions of Linux. CentOS 6.4Debian 7.0Scientific Linux 6.4Ubuntu 12.10 DesktopUbuntu 12.10 Server Create the Virtual Machine Start by launching the virtualization software and creating a VM which our Vagrant box will be based off of. Modify the VM’s settings: Customize the VM’s settings: Installing the Guest OS Setting up the Guest OS Update the sudoers file $ su - $ visudo
A Good Windows Development Environment and Ubuntu Virtualbox | Simon Holywell - Web developer in Brighton Sun VirtualBox Logo Often Linux just does it better! Often I find myself developing a Windows machine without access to a Linux development server, but I still need to access to some of the Linux binaries and features such as cron jobs, the at command and binaries such as imagemagick, pdftotext, etc. I have not removed XAMPP as it is very useful for developing small scripts or sites without the overhead of running a virtual machine. Setting up a new development environment Download VirtualBox 2.1 from the latest Ubuntu from Your choice of server or desktop. Configuring our web server We need to enable mod_rewrite which involves making a simple symbolic linkNavigate to /etc/apache2/mods-enabledExecute sudo ln -s /etc/apache2/mods-available/rewrite.load rewrite.loadReboot the server sudo /etc/init.d/apache2 restart and test it is function ok. Setting up Mass Virtual hosts A side note when using this method that you should be aware of.
Installing Python Pyramid with Apache2 on Ubuntu 11.04 Here's what I have done so far. I have set up Ubuntu 11.04 server in Virtual Box. I enabled OpenSSH and LAMP server during installation. Nothing else. Now, I want to try out Python Pyramid framework. 1. $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install build-essential 2.Install mod_wsgi $ sudo apt-get install libapache2-mod-wsgi 3. $ sudo apt-get install python-setuptools 4. $ sudo easy_install virtualenv 5. $ cd /home/hiro 5. $ virtualenv --no-site-packages env 6. $ cd env $ . 7. $ . $ .. 8. $ cd /home/hiro/env $ vi pyramid.wsgi Here is what you need to write from pyramid.paster import get_app application = get_app( '/home/hiro/env/myapp/production.ini', 'main') 9. chmod 755 pyramid.wsgi 10. $sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/pyramid $sudo vi /etc/apache2/sites-available/pyramid Here is my pyramid file 11. $ sudo a2ensite pyramid $ sudo a2dissite default $sudo /etc/init.d/apache2 restart You should see the following page
Intro to the Python Framework Pyramid — Six Feet Up, Inc. We prefer Pyramid to Django, Flask, and Bottle due to its flexibility, scalability and speed. It gives us more control than Django and is easy to create a small app that can scale later without being rewritten. Recently we provided some training on how Pyramid works that was recorded. To get a good understanding of the Pyramid framework and see how to implement a basic ToDo app from scratch: Watch our Intro to Pyramid video below (21 min)Play with the ToDo app demo at the step by step instructions in the ToDo app README.md at the official documentation and tutorials at If you would like to discuss Six Feet Up building your next web application, contact us or signup for our newsletter to get more articles like this. Here are some key points from the video: General Info Pyramid is a Python based open source web framework. The Pyramid tenets are: Persistence
How To Use the Pyramid Framework To Build Your Python Web App on Ubuntu Introduction Web frameworks provide a quick and easy way to jump start a web application. Almost every web framework adheres to the MVC software pattern. Pyramid is a lightweight web framework for Python applications. In this guide, we will introduce you to how to set up Pyramid on your Ubuntu system. Install the Prerequisite Tools Before you begin, you must have some prerequisite packages installed. We will be using Python 3 in this guide. Either way, you should run the following command to install the development header files needed by some Pyramid extensions. sudo apt-get update sudo apt-get install python3-dev python3-setuptools We will also need the virtualenv package. sudo easy_install virtualenv You should now have the basic components necessary to start working with Pyramid. Configure the Application Environment Now that we have the Python version we need and the bootstrapping tools necessary to build our application, we can configure our application environment. deactivate Conclusion
Why you (maybe) got denied from BizSpark Why you (maybe) got denied from BizSpark By Marc Gagne January, 02 2014 (0) Add a Comment Rate: So you’re a tech startup looking to get in on the goodness that is BizSpark (I mean who doesn't want free Microsoft software & $150 a month for cloud hosting for 3 years amiright?), so you applied but you got the dreaded "it does not appear that you meet all the eligibility requirements at this time" email from the BizSpark team. Vague Website or no website at all Your website is one of the primary ways the BizSpark team validates your startup. No Company Email So you have a great looking website that clearly tells the story of what you do, but yet you register your company email address with a Hotmail/Outlook/Gmail account. Here's a few resources to get your started Unclear Description As part of the application process for BizSpark you have to submit a description of your startup. Do Don't You have 2500 characters, I'm not suggesting you have to use them all, I'm just saying use them wisely! Comment
condemil/Gist Home · kemayo/sublime-text-git Wiki Getting Started – Git-Flow | Some thoughts, ideas and fun!!! Overview In a previous article called “Getting Started – Git” I explained most of the concepts that you should know about Git. I also mentioned in that article that I was busy writing another article on how to use Git-Flow as a branching strategy for your Git Repositories. Git-Flow – What is it? I’ll be updating this document as I come across more goodies that I think you should know about Git-Flow and how to use it. Git-Flow – What is it? So, before I jump into the way Git-Flow works you may want to know what it is. For now, all you need to know is that Git-Flow is a workflow for branching that can be used for doing development work. Git-Flow Setup To setup Git-Flow is very straightforward and easy. wget -q – –no-check-certificate This will download a Shell script to install Git-Flow for you. sudo chmod a+x gitflow-installer.sh Once the script is executable you can run it by running the following command: sudo . Workflow