Open Coworking Software
JavaScript Python CSS HTML
Latest commit 23a22b6 Jan 5, 2017 @jsayles jsayles spelling error
Permalink
Failed to load latest commit information.
arpwatch Moved UserProfile and Membership out of models.core Dec 7, 2016
comlink add comlink url to footer. fixes #232 Dec 21, 2016
demo removed py4j usaepay systems. Long Live SOAP May 3, 2016
docs removed github Dec 6, 2016
doors new utility to pull IP address out of a request object Nov 4, 2016
interlink Moved UserProfile and Membership out of models.core Dec 7, 2016
members Hide org left profile on smallest screens Dec 30, 2016
nadine You can now mark a bill as 'in progress' and bump it down the page to… Dec 30, 2016
phantom-testing/phantomjs-2.1.1-macosx Able to collect links for testing but cannot test yet. Nov 8, 2016
scripts added celery path Jan 16, 2013
staff fixed bug that showed resolved alerts Dec 30, 2016
static Start new staff datepicker Dec 6, 2016
tablet Moved UserProfile and Membership out of models.core Dec 7, 2016
templates Resizing of margins and content for screens smaller than 400px Dec 29, 2016
themes Fix logic to allow online registration Sep 9, 2016
.gitignore Start of the new docs system Dec 6, 2016
.travis.yml removed email notification Aug 2, 2016
AUTHORS spelling error Jan 5, 2017
CONTRIBUTORS Added new files to list authors and contributors Dec 23, 2016
Dockerfile-nadine still trying new docker configs Mar 22, 2016
Dockerfile-postgres still trying new docker configs Mar 22, 2016
LICENSE renamed Dec 23, 2016
README.markdown updated some tweaks Oct 21, 2016
Vagrantfile back to screen Jun 2, 2016
docker-compose.yml Basic working Docker-Compose setup - postgres image & django image. Apr 4, 2016
docker-entrypoint.sh Basic working Docker-Compose setup - postgres image & django image. Apr 4, 2016
jls_test.py changing up test tool Dec 7, 2016
manage.py fix pep8 Mar 10, 2015
requirements.txt need master of django-celery because of bug when paired with django 1.10 Dec 2, 2016
urls.py added favicon Nov 17, 2016
views.py Moved UserProfile and Membership out of models.core Dec 7, 2016
wsgi.py new file Jan 19, 2014

README.markdown

Nadine

This is the Django web project which runs behinds the scenes of coworking spaces.

Most of the action is in the staff application, where you'll find a member tracking and billing system.

Requirements

  • Python (Probably comes with your system otherwise it can be downloaded from their website.)
  • Virtualenv (install with pip virtualenv)
  • XCode if you are on Mac OS X
  • Postgresql
  • Does not play nice with SQLite

Handy Installation Instructions

Install the required systems

sudo apt-get update
sudo apt-get install postgresql postgresql-server-dev-all python-pip python-dev virtualenv libffi-dev git

Setup the database

sudo su postgres -c "createuser -s $(whoami)"
createdb nadinedb

Create a virtual environment for the python project

virtualenv nadine
cd nadine
source bin/activate

Download the nadine source code from github

git clone https://github.com/nadineproject/nadine.git
cd nadine

Install all the requirments

pip install -r requirements.txt

Run these scripts to setup nadine, install the database, and create your admin user

./manage.py setup
./manage.py migrate
./manage.py createsuperuser

At this point you can run the server

./manage.py runserver
Visit your installation of Nadine at http://127.0.0.1:8000/

Running the scheduler

In order to repeatedly execute tasks like checking and sending email, run this command:

./manage.py celeryd -B

You will need to run that command as a long lived process. On linux and other unices, use something like the nohup command.

Interlink (mailing lists) notes:

In the interest of shipping more quickly, we have made certain assumptions about the interlink mailing lists which may or may not suit everyone's needs.

  • the reply-to address for mail from a list is the original sender, not the entire list
  • attachments are neither saved nor sent to the list, but a removal note is appended to the message
  • incoming messages are parsed for a single text message and a single html message (not multiple MIME messages)
  • you can set the frequency of mail fetching by changing the value in CELERYBEAT_SCHEDULE in your settings.py or local_settings.py
  • loops and bounces are silently dropped
  • any email sent to a list which is not in a subscriber's user or membership record is moderated
  • the sender of a message receives a copy of the message like any other subscriber

License & Copyright

Copyright 2016 Office Nomads LLC (http://www.officenomads.com/) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.