An example project is available in the example folder.
Add the following to ~/.bashrc:
# fnm
export PATH="~/.fnm:$PATH"
eval "$(fnm env --use-on-cd)"Run the system setup script.
WARNING! This script will install software on your system, please review it before running it. Most notably, it will reinstall DFX and wipe out any local state that you have. Follow the steps manually if you don't want to lose state:
./scripts/system-setup.shEnable .bashrc changes in your current shell:
source ~/.bashrcActivate PNPM:
corepack enableInstall dependencies:
pnpm iGoogle Chrome installation instructions are based on those provided by Microsoft.
Change directory to temporary folder:
cd /tmpDownload the latest stable Google Chrome:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debInstall the downloaded package:
sudo dpkg -i google-chrome-stable_current_amd64.debFix the package:
sudo apt install --fix-broken -yConfigure the package:
sudo dpkg -i google-chrome-stable_current_amd64.debTest the installation by running Google Chrome:
google-chrome