A platform to support the evolution of distributed DIY carbon removal technology though monthly competition and collaboration.
·
Report Bug
·
Request Feature
Table of Contents
A platform to support the evolution of distributed DIY carbon removal technology though monthly competition and collaboration.
Our current version of Vite requires a Node version of v18.6.0.
Node Version Manager (nvm) is reccomended for managing your local node installations. A .nvmrc
file is located at the root of the project.
We use the Discord OAuth2 authoriation system to authenticate OpenAir server users and access API data on their behalf.
For local development, you will want to create a new test Application within the Discord Developer Portal. A Discord account is required.
The application has been designed to be deployed to the Firebase app development platform. The Firebase services that are currently used are:
For local development, you will want to create a new Project within the Firebase Console. A Google account is required.
Firebase emulators require Java JDK version 11 or higher.
- Clone the repo
git clone https://github.com/openair-collective/Carbon-Forming.git
- Install NPM packages in root and
/functions
directorynpm install
cd functions npm install
- Copy and update your Environment Variable files (Read Docs)
For developing on the actual web interface, ask contributors or maintainers of this repo for specific ENV values, which may need to be generated.
cp .sample.env .env.local cp ./functions/.sample.env.local ./functions/.env.local
You will want to run these two commands in separate terminal instances
- Run the Vite project in development mode
npm run watch:dev
- Run the Firebase emulators
npx firebase emulators:start
- The web interface will be accessible at http://localhost:5000.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
TBD
TBD