Overview
The New Order DAO App is a frontend codebase for the New Order DAO’s decentralized application (Dapp). The Dapp can be accessed at https://dao.neworder.network/, and detailed documentation about the New Order DAO can be found on their gitbook page here. The New Order DAO welcomes contributors to their open-source app and provides support through their Discord server.
Features
- Decentralized Application (Dapp): The New Order DAO App is a Dapp that allows users to interact with the New Order DAO.
- Open-source: The app is open-source, allowing contributors to participate in its development.
- Integration with New Order DAO: The app seamlessly integrates with the New Order DAO, providing a complete decentralized experience.
Installation
To set up and compile the New Order DAO App, follow these steps:
- Fork the repo on GitHub.
- Clone the project onto your local machine.
- Create a
.env.localfile and obtain the necessary contents from a current developer. - Add a link to the parent repo by running the command:
$ git remote add upstream https://github.com/new-order-network/new-order-app-ui.git. - Set your Node to the correct version using the command:
$ nvm use. - Install the necessary packages by running:
$ yarn install. - Build the project and watch for changes by running:
$ yarn start. The app should be accessible atlocalhost:3000. - Any changes made to the code will automatically update the app as the files are being watched.
To commit changes to the code, follow these steps:
- Create and checkout a local branch for development using the command:
$ git checkout -b <branch_name>. - Name the branch descriptively, preferably in the format
[ISSUE-TAG]/[ISSUE-NUMBER]-[A-MEANINGFUL-TITLE]. - Push the branch to the remote repository using the command:
$ git push origin <branch_name>. - Make the necessary changes to the code and use the command:
$ git add <file(s)>to stage the modified files. - Commit the changes to your local branch using the command:
$ git commit -m "<descriptive_comment>". - It is recommended to use commitizen to automate the structure of your commits.
- Pull the latest changes from the parent repository, merge them into your forked repository’s main branch, and rebase your new branch on top of those changes using the following commands:
$ git checkout main; git pull upstream dev; git checkout <branch_name>; git merge dev. - Push your changes to your remote branch by repeating step 2.
- Submit a pull request on GitHub’s UI to merge your changes with the parent repository’s dev branch.
Summary
The New Order DAO App is a decentralized application that allows users to interact with the New Order DAO. It is an open-source project that welcomes contributors to participate in its development. The installation process involves forking and cloning the repository, setting up the necessary environment variables, and following specific Git workflow steps to commit and push changes.