This repository contains the hosting node, which facilitates the decentralized hosting and distribution of data associated with Portraits. For more information about the Portrait Protocol and the app, visit our documentation.
To download the app, please use the following link for Mac (ARM) and Mac (x64):
Note: The app is currently in beta and only available for Mac. Support for other platforms will be considered in the future.
Once you have downloaded the app and moved it to your Applications folder, you can run the Portrait Hosting Node by clicking on the app icon. The app will start running in the background, and you can access it from the menu bar.
When you run the app for the first time, you might see a message saying that the app is from an unidentified developer. You might need to allow the app to run on your Mac by going to System Preferences > Security & Privacy > General and clicking on "Open Anyway" next to the Portrait Hosting Node app. Or you can right-click on the app icon and select "Open" from the dropdown menu.
The app requires access to the keychain to store your data locally. When you run the app for the first time, you will be prompted to allow the app to access the keychain. Click on "Always Allow" to grant access.
You will need to allow access to the keychain twice.
Portrait Hosting Nodes are lightweight, efficient nodes designed to host and distribute data on the Portrait network. They utilize Waku to communicate with each other and ensure data availability and integrity. For more detailed information about the Portrait Protocol, Hosting Nodes, and the application layer, visit our documentation.
To install and run the Portrait Hosting Node on your local machine, manually follow these steps:
Installation To install and run the Portrait Hosting Node, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/portraitgg/portrait-hosting-app.git
- Navigate to the project directory:
cd portrait-hosting-app
- Install the necessary dependencies:
npm install
- Build the application:
npm run build
- Running the application
If you want to run the application in development mode, use the following command:
npm run start-electron
If you want to build the application for production, use the following command:
npm run make
Contributions are welcome. If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
Please feel free to reach out to us via Discord if you have any questions or need assistance.
This project is licensed under the MIT License. See the LICENSE file for more information.