Developed specially for Kyiv Spiritual Academy of Krishna Consciousness in Ukraine and ISKCON.
- Run
docker compose up - Wait for images are downloaded, containers are created and launched, all software is installed inside the containers and all services are started
- Type
http://localhost:3000in your browser (default credentials are[email protected]/password) - Ude VSCode to develop inside the container
- attach to
ved_akadem_students-app-1container - open
/home/app/students_crmfolder
- attach to
- Run
docker volume rm ved_akadem_students_postgres-data - Run
docker compose up postgres -d - Run
docker compose cp [PATH TO BACKUP] postgres:/backup - Run
docker compose exec postgres pg_restore -d va_db -O -j 20 -c /backup/db -U postgres - Run
docker compose down - Run
rm -rf uploads - Run
tar -xzf [PATH TO BACKUP]/uploads.tar.gz -C .
You should have 2 remote repositories: origin (your fork) and upstream (main repository)
- Fork repository using GitHub
git clone [email protected]:you/project.gitgit remote add upstream [email protected]:KyivKrishnaAcademy/ved_akadem_students.gitgit checkout mastergit pull upstream master- Check issue tracker for assigned tickets
git checkout -b my_important_feature_or_bugfix- Work on your feature
- Run tests
docker compose exec app npm run test git add .git commit -m '[issue_number_here] My commit detailed message'git push origin my-important-feature- Send Pull Request at GitHub
- Goto 4
bin/build_image_prod.shdocker compose exec app basheval "$(ssh-agent -s)"ssh-keygen -t rsa -b 4096 -C "[email protected]"ssh-add ~/.ssh/id_rsassh-copy-id [email protected]bundle exec cap deploy
- Deployed project http://students.veda-kiev.org.ua
- Issue tracker for contributors https://github.com/KyivKrishnaAcademy/ved_akadem_students/issues
- Wiki https://github.com/KyivKrishnaAcademy/ved_akadem_students/wiki
