Skip to content

Instantly share code, notes, and snippets.

@aditya-vijaykumar
Last active January 31, 2021 13:14
Show Gist options
  • Save aditya-vijaykumar/6f2214e3f35b1c994642236c3318591e to your computer and use it in GitHub Desktop.
Save aditya-vijaykumar/6f2214e3f35b1c994642236c3318591e to your computer and use it in GitHub Desktop.

Ensure you are logged in as the desirable user

sudo su to be logged in as the root user

Downloading ipfs and running locally

Steps to go through for running on a server

Node version

Ensure you have v14.15.4 of node running and the environment variables set properly.

Useful links:

Ensure you have all the tools for running C++ apps

On windows you may have to install https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools

Install Ceramic and IDX

npm install -g @ceramicnetwork/cli @ceramicstudio/idx-cli

Run ipfs daemon first, then ceramic daemon and finally idx bootstrap

Launch a web app with the following dependencies and node modules installed

npm install @ceramicnetwork/http-client @ceramicstudio/idx 3id-connect@next

Run the app with the following code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment