Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.
/ lapka Public archive

Apka pomagająca przeglądać i adoptować zwierzaki ze schronisk 🐾

License

Notifications You must be signed in to change notification settings

glujan/lapka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Apka pomagająca przeglądać i adoptować zwierzaki ze schronisk 🐾

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published