Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 2.29 KB

README.rst

File metadata and controls

67 lines (42 loc) · 2.29 KB

Money sharing app. In development. Probably getting a rename later.

Development

Prerequisites

The installation instructions below assume you have the following software on your machine:

Installation instructions

If you are using virtualenv or virtualenvwrapper, create and activate an environment. E.g.,

mkvirtualenv argus # Using virtualenvwrapper.

Then, to install:

# Clone django-argus to a location of your choice.
git clone https://github.com/littleweaver/django-argus.git

# Install django-argus.
pip install --no-deps -e django-argus

# Install python requirements. This may take a while.
pip install -r django-argus/test_project/requirements.txt

Modifying Argus's CSS files requires SASS, Compass, and Bootstrap SASS. If you plan to make changes to CSS files, but don't have those installed:

gem install bundler # Ensure you have Bundler. May need sudo.
bundle install --gemfile django-argus/Gemfile # Install Ruby requirements.

Get it running

cd django-argus/test_project
python manage.py syncdb    # Create/sync the database.
python manage.py runserver # Run the server!

Then, navigate to http://127.0.0.1:8000/ in your favorite web browser!

Modifying the Styles

Do not modify any of the files within django-argus/static/argus/css/. That directory is managed by Compass. Instead, edit the compass source files in django-argus/sass/. You will need to use the Compass command line tool to compile stylesheets. E.g.,

cd django-argus/argus # Ensure you are in the directory with config.rb.
compass watch         # Watch the sass directory for changes.

Or use Compass.app.