Coder Social home page Coder Social logo

mburst / problemotd Goto Github PK

View Code? Open in Web Editor NEW
35.0 6.0 1.0 69 KB

Problem of the Day: A new programming or logic puzzle every Mon-Fri

Home Page: http://www.problemotd.com/

License: Mozilla Public License 2.0

Python 52.22% CSS 11.48% JavaScript 6.83% Procfile 0.06% HTML 29.40%

problemotd's Introduction

Problem of the Day

Install

You'll need to have python installed. My development environment has 2.7 but I believe it'll work on 3.x. You'll also need Postgres 9.x installed

pip install -r requirements.txt
python manage.py migrate

Create a user account when prompted to do so.

You can login at /admin (the login on the homepage doesn't work with Django authentication). From the admin panel create a new problem.

python manage.py runserver
#or
python manage.py collectstatic --noinput
python tornadows.py --port 8000

Cron Jobs

E-mail out problem daily (requires MANDRILL_API_KEY)

python manage.py send_problem.py

How to get Involved

  • You can always suggest problems at http://www.problemotd.com/suggest/
  • Check Github issues for open tickets that need to be fixed
  • Create an issue for the feature you'd like to work on. We can work out a scope and get you started ASAP
  • Contact me and we can work out an idea that fits your interests

Along with your first pull request please update the AUTHORS file

problemotd's People

Contributors

mburst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

icodein

problemotd's Issues

Update to Django 1.7

It may be as simple as updating the requirements to 1.7. I haven't had the chance to play around with 1.7 much. It would be nice to have schema migration setup as well.

Site Redesign

The site was made fairly quickly with bootstrap. If you're in to UI/UX and have some ideas please post them here.

Profile view

When logged in and you click your name it should take you to a profile view. The profile view should have a list of your comments and links to the associated problem.

Implement cache busting

Had made a go at this with django-compressor but ran in to problems on serving the files in production. Would be great to have this working. Feel free to use something besides django-compressor

Last Problem Has No Solution

The last problem has been bugging me for 2 years now. There is no solution aside from silly tricks (use a rope to pull the boat back, etc).

Python 3.x Requirements.txt

Unable to install Django for python 3.4. Fails on line 18 of oauth2\setup.py.

print in 3.x must have ()'s instead of just "". A fix would be print("unable to find version is %s" % (VERSIONFILE,)). I don't know if you have access to these files or not however

Twitter bot

Inside the send_problem management command a method should exist to post the title and link of a problem to a designated twitter account.

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.