Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.31 KB

File metadata and controls

65 lines (41 loc) · 1.31 KB

ID Share Webapp

Web App of ID Share project.

Prerequisites

1. Install Rust

Make sure to have installed rust in your machine before proceding. If you don't have rust installed, you can use the command below to install it:

curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh

How to Install and Run the Project

  1. Clone the repository locally using the git clone command:
git clone https://github.com/ErroFerro/id-share-frontend.git
  1. Inside the project folder, install all the dependencies:
npm install
  1. Navigate inside the src/ibe folder and run these commands one by one:
#Compile local packages and all of their dependencies.
cargo build

#Download and install a tool named 'wasm-pack'.
cargo install wasm-pack

#Compile the code to WebAssembly
wasm-pack build --target web
  1. Modify the .env file using your Google OAuth keys and your own Firestore configuration.
  2. To run the project run the command:
npm run dev
  1. To build the project run the command:
npm run build

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT