diff --git a/README.md b/README.md index 211bc880..448d75d7 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Instructions for setting please are slightly different. 1. create an ubuntu ec2 instance (e.g, go http://alestic.com/ to find various ubuntu images) 1. `sudo aptitude update` 1. `sudo aptitude upgrade` -1. `sudo aptitude install git-core apache libapache2-mod-wsgi mysql-client python-virtualenv python-mysqldb redis-server python-lxml postfix` +1. `sudo aptitude install git-core apache libapache2-mod-wsgi mysql-client python-virtualenv python-mysqldb redis-server python-lxml postfix python-dev` 1. `sudo mkdir /opt/regluit` 1. `sudo chown ubuntu:ubuntu /opt/regluit` 1. `cd /opt` @@ -78,7 +78,8 @@ Instructions for setting please are slightly different. 1. `sudo chmod 755 /etc/init.d/celeryd` 1. `sudo cp deploy/celeryd.conf /etc/default/celeryd` 1. `sudo mkdir /var/log/celery` -1. `sudo chown celery:celery /var/log/celery` +1. `sudo mkdir /var/run/celery` +1. `sudo chown celery:celery /var/log/celery /var/run/celery` 1. `sudo /etc/init.d/celeryd start` 1. `sudo cp deploy/celerybeat /etc/init.d/celerybeat` 1. `sudo chmod 755 /etc/init.d/celerybeat` diff --git a/core/models.py b/core/models.py index 63618da9..b6fed369 100755 --- a/core/models.py +++ b/core/models.py @@ -103,7 +103,7 @@ class Campaign(models.Model): created = models.DateTimeField(auto_now_add=True) name = models.CharField(max_length=500, null=True, blank=False) description = models.TextField(null=True, blank=False) - details = models.TextField(null=True, blank=False) + details = models.TextField(null=True, blank=True) target = models.DecimalField(max_digits=14, decimal_places=2, null=True, blank=False) license = models.CharField(max_length=255, choices = LICENSE_CHOICES, default='CC BY-NC-ND') left = models.DecimalField(max_digits=14, decimal_places=2, null=True, blank=False) diff --git a/deploy/emit_notices.sh b/deploy/emit_notices.sh old mode 100644 new mode 100755 diff --git a/frontend/templates/manage_campaign.html b/frontend/templates/manage_campaign.html index a5a342b4..f5fa5e92 100644 --- a/frontend/templates/manage_campaign.html +++ b/frontend/templates/manage_campaign.html @@ -52,11 +52,9 @@ Or, go back to rights holder tools page.End Date: {{ campaign.deadline|date:"M d, Y" }}
Campaign status: {{ campaign.status }}
- {% ifequal campaign.status 'INITIALIZED' %} - {% endifequal %}