Hosting A Static Website on ICP

Getting Everything Setup

    Getting Everything Setup

  1. If you are using WSL 2 you will want this to do where Ubuntu can access
  2. Create a folder name IC-forMeStatic or whatever you prefer
  3. In side that folder create another folder called assets
  4. Inside the assets folders create these four file
    • index.html
      2ndpage.html
      script.js
      styles.css

    Add html,css and java to the files

  5. Create a file dfx.json in your root folder
  6. Create a file canister_ids.json
Next: