GithubHelp home page GithubHelp logo

mozilla-github-standards / 40b830d0474d4ef9f72b04b9357e1f2c37aef78c6b54544842b4eb7e6cd68c43 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/marketpulse

0.0 0.0 0.0 4.19 MB

Web app to help gather local market data for Firefox OS

Home Page: https://marketpulse.mozilla.community/

License: Mozilla Public License 2.0

Dockerfile 0.28% Python 63.47% Shell 0.16% CSS 10.69% JavaScript 10.43% HTML 14.97%

40b830d0474d4ef9f72b04b9357e1f2c37aef78c6b54544842b4eb7e6cd68c43's Introduction

marketpulse

Build Status

Coverage status

Run the tests

There's a sample test in marketpulse/base/tests.py for your convenience, that you can run using the following command:

python manage.py test

If you want to run the full suite, with flake8 and coverage, you may use tox. This will run the tests the same way they are run by travis):

pip install tox
tox

The .travis.yml file will also run coveralls by default.

If you want to benefit from Travis and Coveralls, you will need to activate them both for your project.

Oh, and you might want to change the "Build Status" and "Coverage Status" links at the top of this file to point to your own travis and coveralls accounts.

Docker for development

  1. Make sure you have docker and fig
  2. fig up

Docker for deploying to production

  1. Add your project in Docker Registry as Automated Build

  2. Prepare a 'env' file with all the variables needed by dev, stage or production.

  3. Run the image:

    docker run --env-file env -p 80:80 mozilla/marketpulse

NewRelic Monitoring

A newrelic.ini file is already included. To enable NewRelic monitoring add two enviroment variables:

  • NEW_RELIC_LICENSE_KEY
  • NEW_RELIC_APP_NAME

See the full list of supported environment variables.

40b830d0474d4ef9f72b04b9357e1f2c37aef78c6b54544842b4eb7e6cd68c43's People

Contributors

akatsoulas avatar comzeradd avatar johngian avatar mozilla-github-standards avatar ppapadeas 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.