Giter VIP home page Giter VIP logo

lapka's Introduction

Build Status Coverage Aww cat Lol cat

Łapka

Łapka (pronounce as ˈwapka, Polish for a paw) is an app to help browse and adopt animals from shelters 😍 🐶 🐱

Ten plik jest również dostępny po polsku.

Development

This project requires Python 3.6. I recommend using pyenv to manage Python versions installed on your system. And this is how to set up your dev environment after installing pyenv:

ENV_NAME=lapka  # or any other name you like
PY36=3.6.0
pyenv install 3.6.0
pyenv virtualenv $ENV_NAME $PY36       # create a virtualenv for development
pyenv local $PY36/env/$ENV_NAME $PY36  # set both versions as your local Python
                                       # 1st for development, 2nd for Tox
pip install pipenv
pipenv install
pipenv install --dev

Tests, coverage, linter and other are run using Tox. Run all environments by typing tox or choose a specific one (with tox -e NAME):

  • py36 - run unit and integration tests, measure coverage,
  • style - check code and docs style, cyclomatic complexity,

Similary, I'm using nvm to manage Node.js versions. This is how to run JS tests:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
NODE_VER=lts/boron
nvm install $NODE_VER
echo $NODE_VER > .nvmrc
nvm use
cd ui/
npm install  # setup of nvm and Node ends here
npm test     # run this inside ui/js directory

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.