This repository has been archived by the owner on Jun 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/gis to aid development of the GIS…
… features. Conflicts: cookbooks/main/recipes/default.rb cookbooks/postgres/recipes/default.rb cookbooks/python/recipes/default.rb
- Loading branch information
Showing
18 changed files
with
551 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The chef recipies where originally created by Dougal Matthews. | ||
|
||
The following is a list of all the contributors. | ||
|
||
Dougal Matthews <dougal85@gmail.com> https://github.com/d0ugal | ||
Roger Boardman https://github.com/boardman | ||
Vasil Vangelovski https://github.com/vvangelovski | ||
Mathew Taylor https://github.com/Mathew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The chef recipies where originally created by Dougal Matthews. | ||
|
||
The following is a list of all the contributors. | ||
|
||
Dougal Matthews <dougal85@gmail.com> https://github.com/d0ugal | ||
Roger Boardman https://github.com/boardman | ||
Vasil Vangelovski https://github.com/vvangelovski | ||
Mathew Taylor https://github.com/Mathew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright (c) Dougal Matthews and individual contributors. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of django-taggit nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,7 @@ | ||
========================================================== | ||
``Chef Recipies`` -- For working with Vagrant. | ||
``Python Stack`` -- For local development and production | ||
========================================================== | ||
|
||
A set of Chef recipies that I am using to provision virtual machines with | ||
Vagrant for **local development**. They cut corners, do bad things and for this | ||
reason should **not** be used for production/deployment or any publicly | ||
visible servers - however, they could be adapted fairly easily to work well | ||
with both. | ||
|
||
Please excuse my poor attempt at Ruby. This is my first attempt, suggestions | ||
and patches are welcome. | ||
|
||
|
||
Try It | ||
========================================================== | ||
|
||
gem install vagrant | ||
|
||
cd to somewhere you want to mame a vagrant project | ||
|
||
vagrant init | ||
|
||
Replace the VagrantFile contents with vagrant_files/python_postgres in this repo | ||
|
||
vagrant up | ||
|
||
Hopefully that works. Otherwise, go to http://vagrantup.com/ for help. | ||
|
||
|
||
What's on the box? | ||
========================================================== | ||
|
||
Currently this is tailored very much towards the tools that I liked to use. | ||
However I'd really like to add more functionality and make it generic so pull | ||
requests are very welcome. | ||
|
||
A few system libraries that I frequently use; ack, vim, git, svn, libxml-dev | ||
|
||
Some enforcement of my own personal development rules (pip wont work outside | ||
of a virtualenv). However, you will have a virtualenv setup with the name that | ||
you set the PROJECT_NAME to in the Vagrantfile. | ||
|
||
A set of Chef recipies that I am using to provision virtual machines both for | ||
development and production. This is a highly opinionated stack and very much | ||
focused towards Python. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,3 @@ | |
|
||
local all postgres ident | ||
local all all password | ||
host all all 0.0.0.0/0 md5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#TYPE DATABASE USER CIDR-ADDRESS METHOD | ||
|
||
local all postgres ident | ||
local all all password | ||
host all all 0.0.0.0/0 md5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
alias dj='python manage.py' | ||
alias djr='dj runserver 0.0.0.0:8000' | ||
alias djs='dj shell' | ||
alias djt='dj test' | ||
|
||
cd /vagrant/ | ||
alias djt='dj test' |
Oops, something went wrong.