Skip to content

Instantly share code, notes, and snippets.

View ivansglazunov's full-sized avatar
🪄

Ivan S Glazunov ivansglazunov

🪄
View GitHub Profile
- set heroku config vars for hasura
- `HASURA_GRAPHQL_ADMIN_SECRET` `*`
- `HASURA_GRAPHQL_AUTH_HOOK` `http://*.*.*.*:****/webhook`
- get from heroku config var `DATABASE_URL` some thing as `postgres://hxpofunslqpcbb:*@ec2-174-129-227-128.compute-1.amazonaws.com:5432/dackb7ggb8f8j1`
- clone this https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks/passport-js
- follow `Deploy locally` but add to `DATABASE_URL` postfix `?ssl=true`
Done
@ivansglazunov
ivansglazunov / readme.md
Last active June 18, 2019 09:59
cloud vsc readme

CheatSheet по нашим code-server виртуальным облакам

если собьются настройки:

sudo apt-get install screen --assume-yes
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# закрыть открыть терминал
nvm install v8
curl https://install.meteor.com/ | sh

Cheat Sheet

###Git and GitHub

#####SETUP GIT

After installing Git, you can make modifications to customize the environment and identify yourself in it. You just need to make these changes once.

$ git config --global user.name [your username]