Coder Social home page Coder Social logo

tradebyte-pim-challenge's Introduction

Simples PIM


A simple application for PIM (Product Information Management).

Installation

Dependecies

  • Python 3.6
  • Django 2.0
  • pipenv 11.10.0

The project uses pipenv instead of pip to manage python - so there is no requirements.txt. To install it, run as root:

# pip install -U pipenv

  • Whether you want pipenv to install - in case it's unavailable - and use the right version of Python, please install and configure pyenv

Now to install python packages dependencies:

$ make install

To run the application - it will be available at http://localhost:8000/, the admin at /admin/ and the API at /api/.

$ make run

A initial superuser was created when make install ran:

username:admin

password:pim123mip

To activate the virtualenv if it feels necessary, use:

$ pipenv shell

All make commands uses virtualenv interpreter without activating it.

Development

Install the dev-packages to be able to run tests, generate coverage report, run linter, etc.

$ make dev-install

To run automated tests:

$ make test

or run in "watcher mode":

$ make testd

to generate tests coverage:

$ make coverage

then to see the report result:

$ make report

or for "HTML fashion" report:

$ make html

*The HTML report will be available at ./htmlcov/index.html - open it with a web browser.

tradebyte-pim-challenge's People

Contributors

sidneijp 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.