Giter Club home page Giter Club logo

stand-django's Introduction

Standing

This is the web interface for the Standing iOS app for ludic resistance.

Read more about the app and its background here: http://whatsthehubbub.nl/projects/standing/

This project is licensed under an MIT License as detained in the LICENSE file in the same directory.

Installation Guide

Set up a Django project (on OS X)

  1. Install homebrew, by getting the commandline tools: https://developer.apple.com/downloads and then do the install homebrew here: http://mxcl.github.com/homebrew/
  2. Open Terminal.app
  3. Check python is installed by typing python
  4. Install pip if you don't have it sudo easy_install pip
  5. Use pip to install virtualenv: sudo pip install virtualenv
  6. Find a fresh place to checkout the project: [email protected]:whatsthehubbub/victoryboogiewoogie.git use the Mac client: http://mac.github.com/
  7. In the terminal cd to where you just checked out the project, for instance: cd ~/Documents/projects/sake/victorycheckout
  8. Create a virtual environment if you don't have one yet: virtualenv venv --distribute
  9. Start a virtual environment: source venv/bin/activate
  10. Install all the necessary packages: pip install -r requirements.txt
  11. If you have never done so, setup the database: python manage.py syncdb, follow the instructions you get and note down the username and password that give you /admin access to the django site
  12. Because we use south to create the tables for the application (and to update after model changes) you need to run: python manage.py migrate
  13. Start the server with python manage.py runserver and go to your django at http://127.0.0.1:8000/admin 13.1 If you want your server to be accessible from other machines, start your server with python manage.py runserver 0.0.0.0:8000. You will need to figure out your external hostname yourself. [Optional]
  14. Start redis with redis-server /usr/local/etc/redis.conf
  15. Start rq with python manage.py rqworker high default low (requires redis)

To restart the server simply repeat steps 9 and 13. To be up to date again always do: 9, 10, 12, 13.

Install CodeKit (front-end)

  1. Download from Incident57: http://incident57.com/codekit/
  2. Start app and add the Standing directory as a new project

stand-django's People

Contributors

alper avatar simonscheiber avatar

Watchers

 avatar James Cloos avatar

stand-django's Issues

Possible defect for method 'expire_view_cache'

Greetings!
I noticed that method expire_view_cache referred a StackOverflow post, while a recent comment to it mentioned that if the initial request are made in a different language / different timezone, the key won't match in the cache and you will end up with key = None. One other common issue is the request.META["SERVER_NAME"] being different (eg: 127.0.0.1:8000 vs localhost:80).
I'm trying to learn the usefulness of such small updates on StackOverflow. Would this comment help improve your code? I understand that such defect might not happen in real life situation. In that case, do you think this comment can help prevent future bugs (for example, when the code were reused somewhere else)?
I'll really appreciate it if you could kindly give me some feedback or suggestions. Thank you very much for your time.
Have a nice day!

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.