DeveloperDAO
A community of builders who believe in collective ownership of the internet.
Table of Contents
- What is a DAO
- What is DeveloperDAO
- How do I join?
- What is this repo?
- Developing
- Contributing
- Contributors
What is a DAO
DAO stands for Decentalized Autonomous Organisation. That is a group of people with shared goals/mission that are governed by an agreed set of rules coded into a smart contract(s) on a blockchain.
If you want to learn more about DAOs, check out Cooper Turley's blog at https://alias.co/coopahtroopa/essays, mainly "The Rise of Micro-Economies".
What is DeveloperDAO
The project was started as an experiment by Nader Dabit to see what can be achieved when we bring together talented and like-minded people who are interested in learning about and building on Web3.
How do I join?
The DAO operates inside our discord server. To gain access to this server you need to own a Devs for Revolution NFT. The contract for purchasing one can be found on etherscan.io. If you're not sure how to mint an NFT, check out this how-to article by @jkup.
Whilst there is no charge for the NFT you will have to pay a "gas fee" for the Ethereum Blockchain network in order to mint one. This fee can range wildy from about $40 up to and over $400 at peak times. You can check current gas fee uisng the Etherum gas price tracker. If the fee is high you may want to wait and come back later.
That said, there is a limited supply of NFT's that can be created so don't wait too long!
To find available tokenIDs you can mint try this tool created by the community - https://ddao.ibby.dev/.
If you get stuck please reach out on our Discord and we'd be happy to help.
What is this repo?
This is the code for the public DeveloperDAO site.
At the moment it allows members to view their genesis NFT by entering in its ID. As the community takes shape we will decide what this website becomes and build it as a collective.
Built with
Developing
Local Development Environment
Note: Make sure you have the latest version of node installed ^14.17.6
.
cd developer-dao;
nvm install; # to install the version in .nvmrc
nvm use;
- Clone this repo with git
- Install dependencies by running
yarn
- In each of the subfolders of
package
copy the.env.example
and name it.env
Note: You can fill these out with functionality as required. Read them and use your best judgement.
- Seed the CMS with data by running
yarn workspace cms seed
- Start the development server with
yarn dev
- Open the development site by going to
http://localhost:3000
- Open the development server by going to
http://localhost:1317
(admin pagehttp://localhost:1317/admin
)
Deployment
This project uses Vercel to manage deployments. We use the Vercel GitHub integration to automatically deploy in two situations:
- When code is merged into
main
, a production deployment is triggered. Vercel will build the project and deploy it todeveloperdao.com
. - When a pull request is created, a preview deployment is triggered. Vercel will build the project from the PR's code and deploy it to an auto-generated URL.
In both cases, Vercel runs next build
to build the project. Since running next build
automatically sets NODE_ENV
to production
, if you need to distinguish between an actual production deployment and a PR preview deployment (example: we only want to run code that connects to analytics in production and not for preview deploys), use the NEXT_PUBLIC_VERCEL_ENV
(process.env.NEXT_PUBLIC_VERCEL_ENV
) environment variable. This variable exists in Vercel and provides the following values:
Vercel Environment | value |
---|---|
Production | production |
Preview | preview |
Development | development |
Contributing
Thanks for showing interest in contributing to Developer DAO. Before submitting any changes please review our contributing gudielines in CONTRIBUTING.md.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Support
Thanks to Vercel sponsoring this project by hosting it for free