This project uses KeynoteJS, a powerful, open-source presentation framework built with JavaScript.
For more information and useful resources, refer to the following links:
The visual diagram illustrating the workflow for Project Initialization and Development Cycle is available in the Wiki and also in Miro for enhanced clarity and quality.
Follow these steps to get the project up and running using Docker Compose:
Before you begin, ensure you have met the following requirements:
- Docker and Docker Compose.
- Git installed on your local machine.
- Node.js installed on your local machine.
-
Clone the repository:
git clone https://github.com/boarlabsxyz/razom.git cd razom -
Set up environment variables: Create a
.envfile in the veterans directory and add the necessary environment variables. Refer to.env.examplefor the required variables. -
Build and start the containers:
docker compose up --build --watch
-
Open the project CMS in your browser: Navigate to
http://localhost:3000to see the project in action. -
Open the project page in your browser: Navigate to
http://localhost:8000to see the project in action. -
Run tests:
docker compose run app npm test
-
Take an issue from GitHub:
- Browse the issues on the Current Sprint Board in the "To Do" column and select one to work on.
- Assign the issue to yourself to avoid duplication of work.
-
Create a new branch:
git checkout -b <issue-number>-<short-description>
-
Implement the changes:
- Implement issue.
- Keep PR as small as possible.
- Create several PRs if issue requires significant changes.
- Ensure your code adheres to the project's coding standards and guidelines.
-
Create a Pull Request (PR):
- Push your branch to the remote repository:
git push origin <issue-number>-<short-description>
- Open a PR against the
mainbranch. - Provide a clear and concise description of the changes made.
- Push your branch to the remote repository:
-
Pass Continuous Integration (CI):
- Ensure that all CI checks pass successfully.
- Fix any issues reported by the CI pipeline.
-
Get approval and merge the code:
- Request a review from the project maintainers.
- Address any feedback or requested changes.
- Once approved, merge the PR into the
mainbranch.
We use Semantic Versioning (SemVer) and track all changes in the CHANGELOG.md file. Please refer to it for details about updates, new features, bug fixes, and other modifications.
Format: MAJOR.MINOR.PATCH
- MAJOR: incremented for significant changes that are not backward compatible.
- MINOR: incremented when new functionality is added that is backward compatible.
- PATCH: incremented for bug fixes or minor changes.
Example: 1.2.3 — the third patch of the second minor update of the first major version.
The SemVer is updated in the version field of the veterans/package.json file.
To run the scripts that will seed the db with initiatives and regions use these commands: docker exec -it <name_or_ID_keystone-container> npm run seed-regions docker exec -it <name_or_ID_keystone-container> npm run seed-initiative docker exec -it <name_or_ID_keystone-container> npm run seed:all (runs both previous scripts in one) They are used for seeding the db inside the docker container If you want to seed your local db, just run the script, like it is written in package.json, e.g. npm run seed-regions