Skip to content

Management system for patent and trademark agency

License

Notifications You must be signed in to change notification settings

ktshen/happypatent

Repository files navigation

HappyPatent

alt text alt text alt text alt text

Introduction

The project is originally designed for a Taiwanese Patent and Trademark Office to manage thousands of patent and trademark applications for many countries over the past 10+ years. Check out Demo to get a better understanding of every section.

Features

  • Friendly to Patent and Trademark Agency
  • Automatically setup HTTPS service (Caddy Server)
  • Perform full text search throughout the site (ElasticSearch)
  • Collect useful information in uploaded files, enabling users to search by key words (Tika)
  • Database: PostgreSQL, Redis

Deployment & Commands

Before running

  1. Duplicate ".env.example" file and rename it to ".env". Fill out all necessary fields in .env file.
  2. Make sure that following folders are created and the user has the permission to access.
    • media/
    • static/
    • postgres_backup/
    • postgres_data/

Deployment

  • Run
docker-compose build
docker-compose up
  • Create Super User during the first deployment
docker exec -it <container-id-django> sh
python manage.py createsuperuser

Database backup

Look up cookiecutter backup

Test coverage

Before testing, you must install necessary packages (make sure that you have create a virtualenv workspace)

 pip install -r requirements/test.txt

To run the tests, check your test coverage, and generate an HTML coverage report::

coverage run manage.py test
coverage html
open htmlcov/index.html

Demo

  • Dashboard

demo1

  • Billboard

demo1

  • Application

demo1

  • Proposal

demo1

  • Inventor

demo1

  • Agent

demo1

  • Profile

demo1

License

Distributed under the MIT License.

Copyright (c) 2018 Kuan-Ting Shen, En-Han Chang