Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

kkiyama117/unimap-base

Repository files navigation

unimap-base

circle coverage Updates Python 3 Maintainability

Quick start

  1. Add "unimap-base" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
       ...
       'rest_framework',
       'unimap_base',
    ]
  2. Include the polls URLconf in your project urls.py like this:

    path('unimap/', include('unimap_base.urls')),
  3. Run python manage.py migrate to create the unimap models.
  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a unimap (you'll need the Admin app enabled).
  5. Visit http://127.0.0.1:8000/unimap/ to participate in the unimap.

Develop and Test

  1. Download or clone this repo
  2. Make virtual environment:

    python -m venv .venv
    source .venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Test:

    pytest
  5. Develop

    If you want to know how to write code, but you're not familier with python, django, restframework or pytest, see

Usage (it's alpha version so change suddenly and need to fix)

  1. Create models needed to make API by django admin site
  2. access to API <your site url>/<url for unimap_base>/<url for models>/ (e.x. localhost:8000/unimap/universities/)