/purencool-studio

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

Purencool Studio

Purencool Studio is an Application that runs in your browser locally.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisites

In order to run this container you'll need docker installed.

Usage

Container Parameters

Start service initially

 docker run --name=purencool_studio -d -p 3000:3000 -t purencool/purencool_studio:latest

Stop service

 docker stop purencool_studio

Start service again

docker start purencool_studio

Environment Variables

  • VARIABLE_ONE - A Description
  • ANOTHER_VAR - More Description
  • YOU_GET_THE_IDEA - And another

Volumes

  • /your/file/location - File location

Useful File Locations

  • /some/special/script.sh - List special scripts

  • /magic/dir - And also directories

Built With

  • Docker version 19.03.13

Find Us

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Purencool team

Build

For this to build you will need to do the following

  1. config.js needs to be installed
  2. run docker build -t "purencool_studio:latest" .

Development

The below commands we use commonly in the development of this docker image

Docker build commands

docker images

Completely delete any reference of purencool_studio locally

docker stop purencool_studio && \
docker rm  purencool_studio && \
docker rmi -f purencool_studio

To rebuild and test purencool_studio locally

docker build -t "purencool_studio:latest" . && \
docker images && \
docker run --name=purencool_studio -d -p 3000:3000 -t purencool_studio:latest && \
docker exec -it purencool_studio  /bin/sh
Stop all docker ps
 docker stop $(docker ps -aq)
Removed all images that in a halted state
 docker rm $(docker ps -aq)
Removed all dangling images
docker rmi $(docker images --quiet --filter "dangling=true")

NPM Express server tests

 npm install --only=production --suppress-package-metadata-warnings