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.sh
Enable .bashrc
changes in your current shell:
source ~/.bashrc
Activate PNPM:
corepack enable
Install dependencies:
pnpm i
Google Chrome installation instructions are based on those provided by Microsoft.
Change directory to temporary folder:
cd /tmp
Download the latest stable Google Chrome:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Install the downloaded package:
sudo dpkg -i google-chrome-stable_current_amd64.deb
Fix the package:
sudo apt install --fix-broken -y
Configure the package:
sudo dpkg -i google-chrome-stable_current_amd64.deb
Test the installation by running Google Chrome:
google-chrome