This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async ({ deep, require }) => { | |
const React = require('react'); | |
const { useState } = React; | |
const { Box, Text, Avatar, Wrap, WrapItem, Editable, EditablePreview, EditableInput, EditableTextarea, Center, Flex, Divider } = require('@chakra-ui/react'); | |
const asyncFileTypeId = await deep.id("@deep-foundation/core", "AsyncFile"); | |
const assetNameTypeId = await deep.id("@suenot/asset", "Name"); | |
const assetDescriptionTypeId = await deep.id("@suenot/asset", "Description"); | |
const assetTickerTypeId = await deep.id("@suenot/asset", "Ticker"); | |
const assetAvatarTypeId = await deep.id("@suenot/asset", "Avatar"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I add ports in global installed deeplinks: /root/.nvm/versions/node/v18.19.0/lib/node_modules/@deep-foundation/deeplinks/local/docker-compose.yml | |
version: '3.7' | |
services: | |
links: | |
container_name: deep-links | |
image: deepf/deeplinks:main | |
networks: | |
- network | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker ps -a | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
__dirname /root/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks/imports | |
rootDir /root/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks | |
deeplinks:engine:error Error: connect ECONNREFUSED 127.0.0.1:3006 | |
deeplinks:engine:error at AxiosError.from (/root/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:837:14) | |
deeplinks:engine:error at RedirectableRequest.handleRequestError (/root/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3016:25) | |
deeplinks:engine:error at RedirectableRequest.emit (node:events:529:35) | |
deeplinks:engine:error at eventHandlers.<computed> (/root/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks/node_modules/follow-redirects/index.js:14:24) | |
deeplinks:engine:error at ClientRequest.emit (node:e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vmi1342668:~/.nvm/versions/node/v18.18.2/lib/node_modules/@deep-foundation/deeplinks/local# cat docker-compose.yml | |
version: '3.7' | |
services: | |
links: | |
container_name: deep-links | |
image: deepf/deeplinks:main | |
networks: | |
- network | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
|root@vmi1342668:~# deeplinks | |
__dirname /root/.nvm/versions/node/v18.18.0/lib/node_modules/@deep-foundation/deeplinks/imports | |
rootDir /root/.nvm/versions/node/v18.18.0/lib/node_modules/@deep-foundation/deeplinks | |
deeplinks:engine:error Error: connect ECONNREFUSED 127.0.0.1:3006 | |
deeplinks:engine:error at AxiosError.from (/root/.nvm/versions/node/v18.18.0/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:837:14) | |
deeplinks:engine:error at RedirectableRequest.handleRequestError (/root/.nvm/versions/node/v18.18.0/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3016:25) | |
deeplinks:engine:error at RedirectableRequest.emit (node:events:529:35) | |
deeplinks:engine:error at eventHandlers.<computed> (/root/.nvm/versions/node/v18.18.0/lib/node_modules/@deep-foundation/deeplinks/node_modules/follow-redirects/index.js:14:24) | |
deeplinks:engine:error at ClientRequest.emit (node:events:517:28) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
export DOCKERHOST=149.102.136.233 && export DEEPLINKS_PORT=3006 && export DEEPCASE_PORT=3007 && export DEEPLINKS_PUBLIC_URL=http://localhost:3006 && export DEEPLINKS_HASURA_STORAGE_URL=http://localhost:8000 && export RESTORE_VOLUME_FROM_SNAPSHOT=1 && export MANUAL_MIGRATIONS=0 && export npm_config_yes=true && export JWT_SECRET='{"type":"HS256","key":"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R"}' && export HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres && export HASURA_GRAPHQL_ENABLE_CONSOLE=true && export HASURA_GRAPHQL_DEV_MODE=true && export HASURA_GRAPHQL_LOG_LEVEL=debug && export HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup,http-log,webhook-log,websocket-log,query-log && export HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey && export HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS=true && export HASURA_GRAPHQL_UNAUTHORIZED_ROLE=undefined && export POSTGRES_USER=postgres && export POSTGRES_PASSWORD=postgrespassword && export PGGSSENCMODE=disab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"workbench.colorCustomizations": { | |
"terminal.background":"#FAFAFA", | |
"terminal.foreground":"#383A42", | |
"terminalCursor.background":"#383A42", | |
"terminalCursor.foreground":"#383A42", | |
"terminal.ansiBlack":"#FAFAFA", | |
"terminal.ansiBlue":"#4078F2", | |
"terminal.ansiBrightBlack":"#A0A1A7", | |
"terminal.ansiBrightBlue":"#4078F2", | |
"terminal.ansiBrightCyan":"#0184BC", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt update | |
sudo apt install docker-ce | |
# docker ps |