The project is split into a Django API backend and a Vue.js 3 frontend built with Vite and Vuetify.
It allows you to have a profile page with your opensource contributions.
It also shows the number of stars you have for your repositories.
The website is live at https://githubcontrib.samarchyan.me.
See more documentation.
- Use mysql-docker to bring up MySQL in Docker
- Use redis-docker to bring up Redis in Docker
- Run
make install-depsif necessary (only on Ubuntu) - Run
make bootstrap - Run
make createsuperuserto create a superadmin user - Edit files
env_custom.shandenv_secrets.sh
make run to run the backend on http://localhost:8000/.make dev to run the frontend on http://localhost:5173/.make help to get a list of all available commands.GitHub OAuth callback URLs should point at the backend, for example:
http://localhost:8000/auth/complete/github/for local developmenthttps://<backend-domain>/auth/complete/github/for production
Set FRONTEND_URL to the frontend origin so the backend can redirect OAuth users back with JWT tokens.
Run in Docker:
- Run
make docker-build - Edit file
docker_secrets.env - Run
make docker-run
To use production commands:
- Edit file
db_env_prod.sh - Activate the kubectl context