🐳 Dev environment for flower-stuff-easy-web project. It starts Vue and Django projects in Docker containers.
- flower-stuff-easy-web-vue(https://github.com/yuu-eguci/flower-stuff-easy-web-vue)
- flower-stuff-easy-web-django(https://github.com/yuu-eguci/flower-stuff-easy-web-django)
- Docker Desktop(https://www.docker.com/products/docker-desktop)
- Assure that you can connect to GitHub using SSH (https://docs.github.com/ja/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
If your machine is Windows ...
- Git Bash (https://gitforwindows.org/)
Start it.
git clone git@github.com:yuu-eguci/flower-stuff-easy-web-docker.git && \
cd flower-stuff-easy-web-docker && \
git clone git@github.com:yuu-eguci/flower-stuff-easy-web-vue.git ./app/flower-stuff-easy-web-vue && \
git clone git@github.com:yuu-eguci/flower-stuff-easy-web-django.git ./app/flower-stuff-easy-web-django# In flower-stuff-easy-web-docker repository.
docker-compose up -ddocker-compose exec vue-service sh -c 'yarn install' && \
docker-compose exec vue-service sh -c 'yarn serve'In another terminal
cd flower-stuff-easy-web-docker && \
# Although already run "pipenv install" in Dockerfile, run this again for new libraries added.
docker-compose exec django-service sh -c 'pipenv install' && \
docker-compose exec django-service sh -c 'pipenv run python ./app/download_hdf5.py' && \
docker-compose exec django-service sh -c 'pipenv run python manage.py runserver 0.0.0.0:8000'docker-compose down