This project was bootstrapped with Create React App. You will find most of the information of how to use it there.
Project requires Node.js v6+ to run.
We use yarn as a package manager, so you will need to install yarn as well. Please refer to the instructions for your operating system.
Install the dependencies and devDependencies and start the server.
$ yarn install
$ yarn start
Start script will launch the development server which binds to http://127.0.0.1:7079 by default. You can also use start-desktop to debug the project in desktop environment
API binding can be customized to the value of your choice. Simply create a settings.json in your public directory. Example settings.json.dist is included in /public directory
{
"fullNodes": [
"http://127.0.0.1:7079"
]
}
Development server emits warnings and will report errors in readable format. You can hack around it, but it is suited only for development/testing. To use it in production environment you will need to build the project.
Install the dependencies if you not did it already:
$ yarn install
Create your settings.json configuration file and build the project
$ yarn build
After building, redistributable files will be placed to the '/build' directory. You can serve it with any web-server of your choice. Settings file must be also placed there
Install the dependencies if you not did it already:
$ yarn install
Create your settings.json configuration file and build the project
$ yarn build-desktop
When build process finishes you will need to package your application using "release". You will also need to specify "--publish never" so your project will not be published to github
Platforms can be specified with the combination of m/w/l arguments, where "m" stands for macOS, "w" for windows and "l" for linux
$ yarn release --publish never -mwl
Will release desktop applications for macOS, windows and linux
Feel free to contact us if you experience any kind of problems while using Genesis: [email protected]