GithubHelp home page GithubHelp logo

upstore's Introduction

Successfully Build Php 5.2 & Apache 2.2 Protocol 1.1

Build Size 3.04GB

Follow the commands below to build the docker image successfully for Php5.2 & Apache 2.2. The Dockerfile is based on Official CentOS pulling from the remote repository (FROM centos:6) as selected before it starts packaging the required softwares and libraries for php and apache.

Clone Repository

Run the command below to pull the docker file from Projects repository.
Command:

git clone [email protected]:mark.c/Projects.git

Navigate to Projects directory

Run the command below to change directory to Protocol2/AmazonLinux/Uprinting/store folder.
Command:

cd Projects/Protocol2/AmazonLinux/Uprinting/store

Docker Build and Run (Express) -Not Available-

Run the command below to build and run the image.
NOTE: The script will ask for the image name, containter name, and the host port bind the to container port. Wait until the "Instruction" message appear.
Command:

sh run.sh

Docker Build and Run (Manual)

You can Build and Run the image manually by typing the command below
Build Command:

docker build -t store .

Run Command:

docker run -dit -p 80:80 -e NR_INSTALLKEY="license_key" -e DOMAIN_NAME="www.uprinting.com" -e DOMAIN_STORE="store.uprinting.com" -e DOMAIN_PAYMENT="payment.uprinting.com" -e DOMAIN_DESIGN="design.uprinting.com" --name store store
To access the container's port using web browser(Chrome/Firefox) follow the instruction below

Will publish the container’s port(s) to the host port(s) that you entered a while ago
You should be able to access the container using http://{YOUR_IP} and it should display the content below.
Display:

File not Found!

upstore's People

Contributors

markrcu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.