-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge branch 'develop' into unit-tests-coverage
# Conflicts: # inji-web/src/pages/IssuerPage/CertificateList.js
Showing
11 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Inji-Web | ||
Injiweb is a web interface for users who does not have access to smartphone for accessing and using digital credentials. A user should be able to do primariliy 4 key actions - fetch, download, store, share. | ||
|
||
--- | ||
# Installations: | ||
|
||
Node 18 - Can be installed using [nvm](https://github.com/nvm-sh/nvm). Run following commands to install node | ||
|
||
``` | ||
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | ||
$ nvm install 18 | ||
``` | ||
--- | ||
# Configuration: | ||
Inji web connects with a backend-for-frontend service called Mimoto. URLs to connect with this service can be updated in the config file by running the following command: | ||
``` | ||
$ nano ./inji-web/src/utils/config.js | ||
``` | ||
Once the config file is updated run following commands to save the updates: | ||
|
||
`ctrl + o` and then `y` to save the changes | ||
|
||
`ctrl + x` to exit | ||
|
||
--- | ||
|
||
# Folder Structure: | ||
|
||
* **helm:** folder contains helm charts required to deploy on K8S | ||
|
||
* **inji-web:** contains the source code and Dockerfile | ||
|
||
--- | ||
|
||
# Run Inji Web: | ||
|
||
* Run following commands to start the application: | ||
|
||
``` | ||
$ cd ./inji-web | ||
$ npm install | ||
$ npm start | ||
``` | ||
Run `npm test` to run tests | ||
|
||
|
||
- Build and run Docker for a service: | ||
``` | ||
$ cd ./inji-web | ||
$ docker build -t <dockerImageName>:<tag> . | ||
$ docker run -it -d -p 3000:3000 <dockerImageName>:<tag> | ||
``` | ||
|
||
- Open URL http://localhost:3000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters