Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
vagrant changes and changes to task list and op task popup in product…
… window
  • Loading branch information
dvreed77 committed Jul 17, 2014
1 parent 83dfcce commit 8b7dcafeed7685f669a399f2eee9da35ca80da6a
Show file tree
Hide file tree
Showing 37 changed files with 1,505 additions and 15,156 deletions.
@@ -6,4 +6,5 @@
*.avi
*.ogg
*.mp4
*.sqlite3
*.sqlite3
*.vagrant
@@ -17,4 +17,28 @@ $ python manage.py syncdb
$ python manage.py populate_db
```

This will keep your super user and drop just the app database which is a lot nicer than deleting the whole database and starting over
This will keep your super user and drop just the app database which is a lot nicer than deleting the whole database and starting over

This process is also under the `reset_optask` command

```bash
$ python manage.py reset_optask
```


# Getting this working on Vagrant

Get a base centos box (this may take awhile)
```bash
vagrant box add centos_6.5 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box
```

Initialize Vagrantfile
```bash
vagrant init centos_6.5
```

Start it
```bash
vagrant up
```
@@ -0,0 +1,17 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "centos_6.5"

config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 8000, host: 9000

# config.vm.provision :shell, path: "scripts/install.sh"
config.vm.provision :shell, path: "scripts/install_python.sh"
end

0 comments on commit 8b7dcaf

Please sign in to comment.