Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 650 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 650 Bytes

shrine.ooo

https://shrine.ooo

https://xljsj-eiaaa-aaaag-qbz7a-cai.ic0.app

Local Development

Using Vite Hot Module Reloading

$ dfx start --background --clean
$ dfx deploy
$ npm run dev
$ dfx stop

Testing Prod on Local

# To test the interface, visit the frontend url:
$ dfx deploy
# To run the e2e tests:
$ npm run test

Deploying to Mainnet

$ dfx deploy -- network ic

Notes

  • dfx deploy
    • automatically sets all the environment vars
    • automatically updates the .env file
    • automatically calls npm run build
    • note that dfx deploy shrine_backend does not update .env