Skip to content

Is request invitation form working? #2

@roperi

Description

@roperi

Hello, Mario!

I am struggling to make your great landing page to work. Specifically I have no idea how to send an email using the 'request invitation' form.

This is the process I used to install your repo into my local machine.

  1. Git clone your repo
  2. Installed and activated a virtualenv with Python 3.4
  3. Installed mysqlclient and Django 1.7.11
    pip install django==1.7.11
  4. Created a django project
    django-admin.py startproject mylandingpage .
  5. Changed settings to include my own database (name='django_rocket') and email server EMAIL_HOST='localhost' EMAIL_PORT=1025
  6. Opened a new console to open a Python SMTPD server
    python -m smtpd -n -c DebuggingServer localhost:1025)
  7. MIgrated database
    python manage.py migrate
  8. Installed the django-rocket
    pip install django-rocket
  9. Registered the app adding it into INSTALLED_APPS from 'mylandingpage/settings'
  10. Add the url and namespace into urls.py
    url(r'^', include('django_rocket.urls', namespace='django_rocket')),
  11. Sync database and created superuser when asked
    python manage.py syncdb
  12. Go to web admin page and root page
    https://127.0.0.1:8000

Everything works great. I can subscribe using the Request Invitation form and I can delete or modify them using the Admin interface. So did the following

  1. Copied the entire django_rocket folder from site-packages inside the virtualenv. This folder has models.py, views.py, urls.py, and forms.py. And of course includes the templates inside the templates/django_rocket/.

And I tried again but it doesn't work. I also tried running again migrations and migrate (no changes were detected or made) but couldn't make it work.

So I don't know how to send myself emails from the Request Invitation form.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions