GithubHelp home page GithubHelp logo

brickwatch's Introduction

Brickwatch

A django project, for monitoring lego prices on ebay.

Directory structure

By default, static files will be collected in ../public/, and data will be saved into ../database.sqlite, both one level up from the root of the git repo.

Perhaps you might want to organise your directories like so:

~/projects/brickwatch/
 |- database.sqlite
 |- public/
 |   `- static/
 `- src/ (<-- this is the git repo!)
     |- .git/
     |- .gitignore
     |- brickwatch/
     |   |- local_settings.py
     |   |- settings.py
     |   `- …etc
     |- catalog/
     |- manage.py
     `- …etc

Set up

Assuming a directory structure as above:

$ cd ~/projects/brickwatch
$ git clone [email protected]:zarino/brickwatch.git src
$ cd src
$ virtualenv env
(env)$ pip install -r requirements.txt
(env)$ cp brickwatch/local_settings{.example,}.py

Then edit brickwatch/local_settings.py to include your ebay and brickset API credentials, and any other environment-specific changes you require.

For local development, you will want to compile the Sass files at /static/sass to CSS at /static/css:

(env)$ sass --watch static/sass:static/css

(In production, you’ll want to compile the Sass files one-off, and then run ./manage.py collectstatic to copy them into a directory that your webserver can serve up directly.)

Run the site

(env)$ ./manage.py runserver

Apps

market – everything to do with ebay listings, active or ended.

catalog – everything to do with lego sets, like their names, RRPs, and production dates.

brickwatch's People

Contributors

zarino avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.