Skip to content

HenrikssonErik/hubbit2

 
 

Repository files navigation

hubbit

create gamma client and api key

# Create description
echo "INSERT INTO internal_text (id, sv, en) VALUES ('dc989ea3-c80b-4fbf-97d3-dbb6869cdd26', 'hubbit', 'hubbit')" | docker exec -i hubbit2_gamma-db_1 psql gamma -U gamma

# Create client
echo "INSERT INTO itclient (id, client_id, client_secret, web_server_redirect_uri, access_token_validity, refresh_token_validity, auto_approve, name, description) VALUES ('714ee306-e904-4978-bb2b-cd1a3478062c', 'hubbit', '{noop}hubbit', 'http://localhost:3000/api/auth/gamma/callback', 3600, 500000000, true, 'hubbit', 'dc989ea3-c80b-4fbf-97d3-dbb6869cdd26')"  | docker exec -i hubbit2_gamma-db_1 psql gamma -U gamma

# Create api key
echo "INSERT INTO apikey (id, name, description, key) VALUES ('c0f26d1b-9e70-4218-bb58-62ba2da72ce5', 'hubbit', 'dc989ea3-c80b-4fbf-97d3-dbb6869cdd26', 'hubbit')"  | docker exec -i hubbit2_gamma-db_1 psql gamma -U gamma

Releases

No releases published

Packages

No packages published

Languages

  • Rust 54.1%
  • TypeScript 34.3%
  • SCSS 6.4%
  • Dockerfile 1.7%
  • CSS 1.3%
  • Makefile 0.9%
  • Other 1.3%