đ Onboarding Guide â athomic
This guide helps new developers quickly set up the development environment for the athomic project.
âī¸ Local Setup
- Give execution permission to the setup script:
chmod +x bin/setup.sh
- Run the script with Make:
make setup
This command will:
- Create a local .venv virtual environment with Poetry
- Activate the virtual environment (via source)
- Install project dependencies
- Create the .env file from .env.example (if needed)
- Load the GH_TOKEN or CI_JOB_TOKEN variable
- Start the application with uvicorn
âšī¸ If you prefer to run manually:
bash source bin/setup.sh
đĻ Versioning with Semantic Release
This project uses python-semantic-release for automated version control.
Run release manually:
make release
Or:
poetry run dotenv run -- poetry run semantic-release version
đ Setting up GH_TOKEN on GitHub
- Go to:
Settings > Secrets and variables > Actions - Click New repository secret
- Name:
GH_TOKEN - Value: your personal token with
repo,workflow,write:packagesscopes
đģ (Optional) Set up GH_TOKEN via GitHub CLI
gh auth login
gh secret set GH_TOKEN -b"your_token_here"
đ ī¸ Integration with GitLab CI/CD (future-ready)
In GitLab CI, the CI_JOB_TOKEN will be automatically used as GH_TOKEN.
đ§° Useful Make Commands
đ§ Local setup
make setup