Skip to content

Commit

Permalink
Add Vagrant-related stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
philgyford committed Apr 26, 2015
1 parent a21af5a commit 333d4a1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -8,4 +8,7 @@ pepysdiary/static_collected
.bundle
/vendor
/node_modules
/.vagrant
/config/vagrant
/Vagrantfile

1 change: 1 addition & 0 deletions Procfile.dev
@@ -0,0 +1 @@
web: gunicorn pepysdiary.wsgi > /vagrant/gunicorn.log 2>&1
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -7,6 +7,8 @@ I don't expect anyone else will want to run this, so there's no in-depth install

Requires Django 1.7.x.

Can be run in Vagrant using https://github.com/philgyford/vagrant-heroku-cedar-14-python (symlink that projects `Vagrantfile` and `config/vagrant/` into the root of `django-pepysdiary/`).

If you want to run it locally, then copy `pepysdiary/settings/development_template.py` to `pepysdiary/settings/development.py` and set things accordingly. Then do:

$ ./manage.py runserver
Expand Down
11 changes: 11 additions & 0 deletions config/vagrant.yml
@@ -0,0 +1,11 @@
django:
settings_module: pepysdiary.settings.development
virtualenv:
envname: django-pepysdiary
foreman:
procfile: Procfile.dev
db:
name: django_pepysdiary
user: pepysdiary_user
password: asfd6ghkdfopdf

0 comments on commit 333d4a1

Please sign in to comment.