Sign inSign up

abidurrehman/laparts-ui

By abidurrehman

•Updated over 5 years ago

Image
0

2.9K

abidurrehman/laparts-ui repository overview

⁠Get the project running

Steps:

  1. Download repository
git clone https://github.com/abidur-rehman/latest-apparts-ui
  1. Move into example directory
cd ./latest-apparts-ui
  1. Install dependencies
yarn install
  1. run locally or build
HOSTUK_USERNAME={username} HOSTUK_PASSWORD={pass} yarn start
# or
yarn build
⁠Docker Deployment

To be able to use one of the config from src/config/config.json in docker container, create .env file under folder one level up from project's root directory (parent folder) with following contents:

RAZZLE_HOSTUK_USERNAME='Your username'
RAZZLE_HOSTUK_PASSWORD='Your password'

In the absence of .env file, default config local will be selected.

⁠Build Image

Build command should be executed from parent directory of the project (one level up). The reason for that is to create docker context in order to load external .env file.

docker build -t abidurrehman/laparts-ui:latest -f latest-aparts-ui/Dockerfile .
⁠Push Image to Docker Hub
docker push abidurrehman/laparts-ui:latest

Tag summary

Content type

Image

Digest

Size

504.7 MB

Last updated

over 5 years ago

docker pull abidurrehman/laparts-ui