Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 696 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 696 Bytes

R-WHILE_Quick_Start

Dockerfile building a r-while environment using r-while-web.

Usage

  1. Create .env in ./src to copy .env.example.
cp ./src/.env.example ./src/.env
  1. Edit .env according to your environment.
APP_URL=`your domain`

DB_HOST=`your domain`
  1. Build an image from this Dockerfile.
docker build -t rwhile .
  1. Start a rwhile container. At this time, map port 80 in the container to appropriate port on the Docker host (e.g.: port 80).
docker run -it -d --name rwhile_container -p 80:80 rwhile
  1. Access localhost:port-number from an internet browser (e.g.: localhost:80).