This project is made for the Olympe community to be able to create coded bricks (logic and visual) and deploy them to the community environment.
- First register to the community following the instructions on the support website.
- Code your bricks and test them locally.
- Send a message on discord to join the "Olympe Community" team on Github to become a contributor of this project.
- Create a pull request with your code:
- clone this repository
- create a branch based on the
develop
branch. Name it like this:<community username>-<bricks set name>
- create a pull request of your branch to the develop branch. Ensure that you respect the structure specified in the rules.
This is a public repository, so all the code you will push will be publicly visible. This also means that you will share src
folder with others.
Here are the rules and the folder structure you need to follow in order to have accepted pull requests:
- Nothing outside the
src
folder will be accepted. - Inside the
src
folder, you will see 3 folders:common
: contain all files added to both Browser and NodeJS bundles. It MUST be code that works on both environments.web
: contain all files added ONLY to the Browser bundle. It will typically contain the visual components.node
: contain all files added ONLY to the NodeJS bundle. It will typically contain logic bricks that use backend libraries.
- Inside the 3 sub-folders, you must put your files in a folder named using your GitHub username. We won't accept any change coming from a user that update files in another folder than its own.
- Example: my username on GitHub is
john.smith
, I'll add my visual component js files intosrc/web/john.smith
folder.
- Example: my username on GitHub is
- All source files are written in javascript or typescript.