0.0.14 • Published 2 years ago

game-scout-common v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

#Game Scout Common Library

Used within the GameScout main code this library provides common code for accessing the DB and cache.

Install

npm install game-scout-common --save

Testing

Prerequisites

  • REDIS running locally
brew install redis
redis-server
  • PostgresDB

To run a local instance of Postgres ....

docker run --name game-scout-pg -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres
docker run --rm -e PGPASSWORD=password --link game-scout-pg:postgres postgres psql -h postgres -U postgres  -c 'CREATE DATABASE game_scout;'

Use the following commands to create the following DB's

psql -c "create database game_scout;"
psql -c "create database game_scout_test;"

And to run the test, the usual npm test

Publish

npm publish

When prompted for OTP enter authenticator associated with lib.
Ensure the version has been updated beforehand.

0.0.13

2 years ago

0.0.14

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago