Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

davidharrigan/keyboardlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

keyboardlist

Development

Dependencies: docker, docker-compose

keyboardlist API

# Bring up API environment
make up

# Restart API uWSGI
make restart

# DB migration
make migrate

# Collect static
make collect_static

# Rebuild API containers
make rebuild

miner There's a good chance this will be broken at some point (whenever mechanicalkeyboards.com decides to update their site). This will be replaced sometime with list of keyboards to dump straight into the database. We'll use updater to update inventory and prices.

# Start mining all sites (currently only mechanicalkeyboards.com
mine_all

# Dump data into keyboardlist API
export_all

Get started

# Update your /etc/hosts
YOUR_DOCKER_HOST_IP keyboardlist-dev.com

# Clone the repo
git clone git@github.com:davidharrigan/keyboardlist.git

# Build containers, migrate DB, collect static, mine keyboard websites, ingest data
make init

# Browse keyboardlist api at
http://keyboardlist-dev.com/api/

TODOs

  • less hard-coded stuff for automation
  • static file management
  • unittests for api endpoints
  • frontend automation
  • basic ui
  • secret management
  • inventory updater

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published