Skip to content
This repository was archived by the owner on Jul 9, 2019. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 587 Bytes

File metadata and controls

29 lines (23 loc) · 587 Bytes

CLEAR CODE TAKS

This Repository contains code of application that reads Reddit feed and mock commenting behaviour.

To run applicationplease follow these steps in your terminal:

cd .docker
cp .env.propduction.dist .env
cp docker-compose.yml.dist docker-compose.yml
docker-compose up -d

To check container logs you can use:

docker logs clearcodetask_node_1 -f

To kill container please use:

 docker-compose down

Also if you don't want to use docker you can run:

export NODE_ENV=production
yarn

in main application directory.