Koii Node
Description
This repo contains a desktop application as the UI for the Koii Node. It provides a user-friendly interface for running tasks, managing your wallet and interacting with the Koii Network.
Prerequisites
- NodeJS (v16 or higher recommended)
- npm or yarn package manager
- Git
Installation
- Clone the repository:
git clone https://github.com/koii-network/koii-node
cd koii-node
- Install dependencies:
npm install
- Configure environment variables:
- Copy
.env.example to .env
- Update the values in
.env with your configuration
Development
Start the development server:
npm start
Common Issues
File Watcher Limit
If you encounter the error ENOSPC: System limit for number of file watchers reached, run:
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p
Linux Dependencies
On Linux, you may need to install additional packages:
sudo apt-get update
sudo apt-get install build-essential
Testing
Run the test suite:
npm test
Building for Production
To package the app for your local platform:
npm run package
The packaged application will be available in release/build/
Contributing
We welcome contributions from the community! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add some amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
Please ensure your code follows our coding standards and includes appropriate tests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please:
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Using Orca
In the desktop node, go to Settings > Task Extensions and install Orca. If it doesn’t install automatically or if you run into any issues after installing, these are the instructions to install manually and troubleshoot.
If you are having errors with virtualization on Linux, you may need to install qemu:
apt install qemu-system
Packaging for Production
To package apps for the local platform:
npm run package
Then ready to be run/installed version of application can be found in release/build
评论