Skip to content

galarant/social_secretary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Secretary

Social Secretary is a notification system that helps you manage your social network.

Users connect via Facebook and categorize / sort their friends. Social Secretary then sends the users reminders via email when they are starting to mis-manage their personal and business contacts (i.e. falling out of touch with a contact, forgetting to reply, etc).

Installation and Setup

  1. Install Python 2.x, MySQL 5.x, Python virtualenv and Python virtualenvwrapper

  2. Make sure that MySQL is correctly configured, and restart your DB server if necessary:

    mysql> SET storage_engine=INNODB;
    
  3. Clone this repo and cd to the package root directory.

  4. Set up your virtual environment:

    $ mkvirtualenv --distribute social_secretary
    $ workon social_secretary
    
  5. Install the required Python dependencies:

    $ pip install -r requirements.txt
    
  6. Make sure that your settings file is properly configured:

    Create a secret_settings file for your db passwords:

    $ vim social_secretary/secret_settings.py
    

    In social_secretary/secret_settings.py:

    DEFAULT_DATABASE_PASSWORD = 'my_dev_db_password'
    TEST_DATABASE_PASSWORD = 'my_test_db_password'
  7. Create your databases, users and passwords:

    mysql> CREATE DATABASE social_secretary;
    mysql> CREATE DATABASE social_secretary_test;
    mysql> GRANT ALL ON social_secretary.* TO 'social_secretary'@'localhost' IDENTIFIED BY 'my_dev_db_password';
    mysql> GRANT ALL ON social_secretary_test.* TO 'social_secretary'@'localhost' IDENTIFIED BY 'my_dev_db_password';
    
  8. Run syncdb:

    $ ./manage.py syncdb
    
  9. Start your server:

    $ ./manage.py runserver
    
    

Testing

Tests use the nose test runner. From the project root, simply run:

$ nosetests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages