Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is request invitation form working? #2

Open
roperi opened this issue Sep 13, 2016 · 0 comments
Open

Is request invitation form working? #2

roperi opened this issue Sep 13, 2016 · 0 comments

Comments

@roperi
Copy link

roperi commented Sep 13, 2016

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?

@roperi roperi changed the title Form Is request invitation form working? Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant