Bakery is a delicious online store. You will find the most delicious cakes, biscuits and breads just a click away.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Ubuntu or Debian derivatives. This application was develop on Ubuntu 18.04
-
The ENVIRONMENT var should be set in development
$ vim /etc/environment
$ ENVIRONMENT=development$ source /mnt/environment -
Check if the var was correctly asigment
$ echo $ENVIRONMENT
Bakery is very easy to launch from docker.
-
By default, the Docker will expose port 18080, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
$ cd bakery docker-compose up --build -d
-
Verify the deployment by navigating to your server address in your preferred browser.
127.0.0.1:18080