Giter VIP home page Giter VIP logo

mayballmarketplace's People

Contributors

neil-s avatar

Watchers

 avatar  avatar  avatar  avatar

mayballmarketplace's Issues

Raven authentication integration

Look into either using the Apache module mod_ucam_webauth or rolling a more fully featured library for Raven authentication.

Unsure if a Python UcamWebauth library exists, will check this out.

Will need to fetch College code as well. I've always done this with LDAP but perhaps Raven has this built in.

Deploy to staging server

I assume we're hosting this on your existing server, James McAulay? Could you give us details of the machine? Can it run Python 3.3 and PostgreSQL? @gfarrell do you have any ideas on how to handle deployment? I'm thinking a staging and a prod branch on the repo here, with either a post-commit hook or manually pulling the code into a repo on the server, running migrations and restarting the server.

Check Legal Aspect of Project

Meet with Jack Lang to run over the financial and charitable aspects of the proposed system, and to ensure that we're on the right side of the law and protected against potential trouble.

Get Grunt to run tasks once before starting watch

Currently, if there is no css file because you've just downloaded the repo, or you made some changes to the less before remembering to run grunt watch, grunt waits idly by for a change. You need to make fake changes to trigger the recompilation. @gfarrell , could you make it run the tasks once when you call the 'watch' task, so it compiles everything right at the start, and then waits for changes to recompile?

Alternatively, if you want to maintain the semantics of 'watch', here's what has worked well for me in the past:

grunt.registerTask('default', ['build','connect','watch']);

Thus, when you run just 'grunt', it builds everything, runs the webserver (so it can handle livereloads for me), and then watches for changes.

Payment integration

Let's go with Braintree as discussed. Look into integrating this with our user management.

Perhaps payments should just be attached to offers, not users? (well, implicit link to users via User hasMany Offer).

Integrate Bootstrap

Gonna create this issue to get the ball rolling. @raph-s do you want to download the version of Bootstrap you prefer to work with (LESS/CSS)? Could do it as a git submodule or just directly downloading the files into the repository.

Add fabfile to support deployment

We now need a bunch of commands to be run for this to deployed anywhere, including installing virtualenv, pip, django, npm and bower. We should look at using either Fabric or Vagrant to make setting up another dev box or deploying easy. Not urgent though.

Load static files using helper

Django provides a helper to generate the right link to the css. The currently hard-coded link is broken after the folder restructure. The helper will help prevent situations exactly like that.

Create listing page

listings

Just display the title of the event, show a list of ticket classes with checkboxes. Display two tables - buy and sell.
In each table, each row should display the class of ticket, the quantity available, and the price. Also, a widget (button, link...) to accept that offer. Sorted by price (highest first on the buy side, lowest first on the sell side).
Show a button to create a new listing on the buy or sell side.

Change folder structure

Going to make it similar to https://github.com/tangentlabs/django-oscar/tree/master/sites/demo.

Top-level 'static' folder. Will have 4 subfolders - css, less, js and img. Must then compile down from less to css. No separate 'dist' folder required. Less folder can contain lib folder, which contains bootstrap less files. lib is .gitignored, and versioned using bower instead.

Top-level 'templates' folder. Will contain sub-folders for each app (for name-spacing reasons), in our case just one folder 'marketplaceapp', which will contain html templates.

What do you think?

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.