Skip to content

Instantly share code, notes, and snippets.

View samlinux's full-sized avatar

samlinux samlinux

View GitHub Profile
@samlinux
samlinux / IC31
Created April 20, 2022 13:39
Internet Computer Identity - a Journey of Discovery
tree $HOME/.config/dfx/identity
@samlinux
samlinux / IC30
Created April 20, 2022 13:38
Internet Computer Identity - a Journey of Discovery
$HOME/.config/dfx/identity
@samlinux
samlinux / IC29
Created April 20, 2022 13:34
Internet Computer Identity - a Journey of Discovery
dfx identity whoami
Creating the "default" identity.
- generating new key at $HOME/.config/dfx/identity/default/identity.pem
Created the "default" identity.
default
@samlinux
samlinux / IC28
Created April 20, 2022 13:28
Internet Computer Identity - a Journey of Discovery
$HOME/.config/dfx/identity/
@samlinux
samlinux / IC27
Created March 17, 2022 09:35
Angular meets Internet Computer
# terminal 1
dfx start --clean
# terminal 2 ( the backend will start automatically )
dfx deploy frontend
# or deploy all canister
dfx deploy
@samlinux
samlinux / IC26
Created March 17, 2022 09:34
Angular meets Internet Computer
dfx deploy frontend
@samlinux
samlinux / IC25
Created March 17, 2022 09:33
Angular meets Internet Computer
./build.sh
@samlinux
samlinux / IC24
Created March 17, 2022 09:32
Angular meets Internet Computer
#!/bin/bash
# make a production build
ng build
# remove old builds
rm ../backend/dist/*
# copy the builded application to its destination
cp dist/frontend/* ../backend/dist/
@samlinux
samlinux / IC23
Created March 17, 2022 09:31
Angular meets Internet Computer
ng serve
@samlinux
samlinux / IC22
Created March 17, 2022 09:30
Angular meets Internet Computer
(window as any).global = window;