sensors.robonomics

所属分类:区块链开发
开发工具:Vue
文件大小:0KB
下载次数:0
上传日期:2023-09-27 10:41:53
上 传 者sh-1993
说明:  去中心化应用程序(DApp)专注于最终用户传感器网络。,
(Decentralized application (DApp) focused on end-user sensors networks.,)

文件列表:
.eslintrc.cjs (337, 2024-01-10)
.prettierrc.json (56, 2024-01-10)
LICENSE (1507, 2024-01-10)
index.html (655, 2024-01-10)
package.json (1675, 2024-01-10)
public/ (0, 2024-01-10)
public/favicon.ico (3782, 2024-01-10)
src/ (0, 2024-01-10)
src/App.vue (250, 2024-01-10)
src/agents.json (651, 2024-01-10)
src/agents.template.json (5, 2024-01-10)
src/assets/ (0, 2024-01-10)
src/assets/artesiantlt.jpg (15328, 2024-01-10)
src/assets/atc.png (15710, 2024-01-10)
src/assets/dolinatlt.jpg (12746, 2024-01-10)
src/assets/ekovoz.png (13745, 2024-01-10)
src/assets/images/ (0, 2024-01-10)
src/assets/images/loader.png (1603, 2024-01-10)
src/assets/images/theme-switcher.svg (677, 2024-01-10)
src/assets/message/ (0, 2024-01-10)
src/assets/message/msg-air.png (2920, 2024-01-10)
src/assets/message/msg-alert.png (17772, 2024-01-10)
src/assets/message/msg-fire.png (2758, 2024-01-10)
src/assets/message/msg-forest.png (3957, 2024-01-10)
src/assets/message/msg-gank.png (16298, 2024-01-10)
src/assets/message/msg-garbage.png (3280, 2024-01-10)
src/assets/message/msg-notif.png (17455, 2024-01-10)
src/assets/message/msg-parking.png (26057, 2024-01-10)
src/assets/message/msg-recycle.png (22140, 2024-01-10)
src/assets/message/msg-text.png (1449, 2024-01-10)
src/assets/message/msg-water.png (2646, 2024-01-10)
src/assets/message/msg.png (14906, 2024-01-10)
src/assets/panorama.png (1014, 2024-01-10)
src/assets/qvantorium.jpg (18587, 2024-01-10)
src/assets/radiation.jpg (3016, 2024-01-10)
... ...

# Create open sensors networks without centralization problems Decentralized Open Sensors Map. Don't forget to your IFPS ID into `src/agents.json` in case you set up your own [Sensors Connectivity module](https://github.com/airalab/sensors-connectivity/tree/master). ## Setup your own Map To deploy your own instance of the map using GitHub Pages, start by forking the [repository](https://github.com/airalab/sensors.robonomics.network) and clone it. To enable GitHub Actions, go to the repository page, click on the `Actions` tab, and set up a workflow if you haven't done so already. To successfully deploy the map, you will need to modify certain files: ### Option 1: you don't have Domain 1. In `.github/workflows/main.yaml` remove `cname: sensors.robonomics.network`. 2. Add the following code right below `runs-on: ubuntu-latest` in `.github/workflows/main.yaml`: ``` permissions: contents: write ``` 3. In `vite.config.js` add `base: "//",` to the `defineConfig` object just above the `plugins` section , replacing `` with the name of your fork (default will be `sensors.robonomics.network`) ### Option 2: you have Domanin 1. In `.github/workflows/main.yaml` change `cname: sensors.robonomics.network` to your `CNAME`. 2. Add the following code right below `runs-on: ubuntu-latest` in `.github/workflows/main.yaml`: ``` permissions: contents: write ``` ### Manage Github Pages After making modifications to the files, you can deploy your instance of the map by following these steps: 1. Commit and push the changes to your forked repository. 2. Wait until the actions have successfully completed. 3. Go to the `Pages` section of your repository `Settings`. 4. Enable GitHub Pages by selecting `Deploy from a branch` as the source 5. Choose the `gh-pages` branch and the `root` folder. 6. Save the settings, and GitHub Pages will deploy your instance of the map. 7. Access it using the provided GitHub Pages URL. > If you dont see the GitHub Pages URL try to reload the page. ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn dev ``` ### Compiles and minifies for production ``` yarn build ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Vite Configuration Reference](https://vitejs.dev/config/). ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

近期下载者

相关文件


收藏者