Coder Social home page Coder Social logo

mailme.io's Introduction

MailMe

Installation

$ Create your virtualenv (recommended, use virtualenvwrapper)
$ virtualenv env

$ # Clone repository
$ git clone [email protected]:mailme/mailme.git

$ # Activate Environment and install
$ source env/bin/activate
$ make develop

$ # run tests
$ make test

Edit settings

Create a new file mailme/settings.py with the following content:

from mailme.conf.development import *

Edit and adapt this file to your specific environment.

Setup the database

Create an empty new PostgreSQL database.

$ createdb mailme_dev

Note

You might need to apply a postgresql user (createdb -U youruser) e.g postgres for proper permissions.

$ python manage.py syncdb --migrate --noinput

Superuser & example data

$ # Create a new super user
$ python manage.py createsuperuser
$ python import.py

Now you can run the webserver and start using the site.

$ python manage.py runserver

This starts a local webserver on localhost:8000. To view the administration interface visit /admin/

Run Celery and other services

Other services being used:

  • Celery, is being used to run [regular] tasks, e.g for feed imports.
  • Compass, is being used to compile our scss files and the foundation framework.

Note

To test oauth services we require using a SSL server for local development. It's not required for regular development but the default setup is using SSL.

Please install stunnel.

$ brew install stunnel

To start all of them (including the runserver):

$ foreman start

Note

Please make sure you have the foreman gem installed.

You can find the SSL version on `port 8443 <https://localhost:8443/>`_

Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.