Giter Club home page Giter Club logo

goctober's Introduction

Julython

image

July is for Programming

July 1st to July 31st, 31 days and nights of writing code.

Julython is a month to try something new, something you have had rolling around in your brain for a while. This could be something simple like 'build the next Google' or 'replace email'. Or you could try something hard like 'build a Django website'. All that matters is that you open source it and write it during the month of July or January.

Why only 31 days? Why not all year? Well, for one we all have lives and jobs which get in the way. Having a month set aside where we all get together and write code will allow us to rely on each other to keep us on track towards our goals. There will also be a little bit of healthy competition and public flogging to encourage everyone to finish.

Goals

Since it is very hard to quantify code we have come up with a simple metric to decide the 'winners' of the competition. The goal is to commit at least once a day for the entire month. If you are working on the next twitter or Instagram you don't have to give your code away. Your commits could be just to a local git or mercurial repository on your machine. Since there are no real prizes you will only be cheating yourself by committing 30 days of lorem ipsum.

For those on the leader board though you will have to push your commits to a public repository which everyone will clearly be able to see if you're padding your stats.

Help

This site is constaintly be tweaked and occasionally problems arise. If you run into errors or just have general questions hit us up:

Follow us on twitter at @julython.

Email us [email protected].

Or join us on freenode #julython.

Hacking

The site is written in Django and hosted on Rackspace. To install the dev environment. Fork this repo and create a virtualenv then install all the requirements:

$ pip install -r requirements-dev.txt

Database

Create an initial database with some dummy data:

$ cp july/secrets.py.template july/secrets.py
$ python manage.py syncdb
$ python manage.py migrate
$ python manage.py loaddata july/fixtures/development.json

Run the server and verify you can login with the admin user username=admin password=password:

$ python manage.py runserver

While the server is running you can test the webhook and create dummy commits with the command:

Media

We are using grunt to manage all the assets so you'll need to have a recent version of node and npm installed then run:

$ fab install

Once the modules have been installed you can either compile or watch the css/javascript files:

$ fab compile
or
$ fab watch 

Testing

Run the test suite before submitting any pull requests. You can run them all like:

$ fab test

To output coverage report run:

$ fab test:cover

To run pep8 tests:

$ fab pep8

Authentication

In order to set up Twitter authentication:

  1. Register an application with Twitter
  2. Ensure you have set a Callback URL for your twitter app. This can be any valid URL, such as your blog URL. Without this setting your twitter app will be locked in 'desktop' mode and you will be unable to authenticate.
  3. Open july/secrets.py and add the consumer key and secret provided by Twitter for your app.

Translations

In order to maintain internationalization (i18n) support, please try to make sure and run the following command after changing any translated text:

$ django-admin.py makemessages

If you can, edit the accompanying message files (you'll find them in july/locale with an extension of .po), then run:

$ django-admin.py compilemessages

Ping the following developers in your pull request or commit message if you'd like to have new strings translated:

goctober's People

Contributors

chadwhitacre avatar chimeracoder avatar chrisoelmueller avatar dtgay avatar florinmatei avatar gdub avatar joshmarshall avatar kmooney avatar kulinsky avatar mattoc avatar megamark16 avatar modocache avatar pagenoare avatar rmyers avatar romanlevin avatar rubinovitz avatar topherjaynes avatar umbrae avatar waawal avatar zsiciarz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

goctober's Issues

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.