Purencool DB is an Application that runs in your browser locally.
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
Start service initially
docker run --mount type=bind,source="$(pwd)"/test,target=/user/src/app/mntdir --name=purencool_db -d -t purencool_db:latest
Stop service
docker stop purencool_db
Start service again
docker start purencool_db
VARIABLE_ONE
- A DescriptionANOTHER_VAR
- More DescriptionYOU_GET_THE_IDEA
- And another
/your/file/location
- File location
-
/some/special/script.sh
- List special scripts -
/magic/dir
- And also directories
- Docker version 19.03.13
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning.
- Purencool - Initial work - Purencool Digital
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Purencool team
For this to build you will need to do the following
- config.js needs to be installed
- run
docker build -t "purencool_db:latest" .
The below commands we use commonly in the development of this docker image
docker images
Completely delete any reference of purencool_db locally
docker stop purencool_db && \
docker rm purencool_db && \
docker rmi -f purencool_db
To rebuild and test purencool_db locally
docker build -t "purencool_db:latest" . && \
docker images && \
docker run -p 3306:3306 --mount type=bind,source="$(pwd)"/test,target=/var/lib/mysql -e MYSQL_ROOT_PASSWORD=q --name=purencool_db -d -t purencool_db:latest && \
docker exec -it purencool_db /bin/sh
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images --quiet --filter "dangling=true")