Skip to content

tanujveera/medium-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medium Clone App

Tech Stack

  • React.JS (frontend)
  • Express.JS (backend)
  • Docker

Start the application

  • Clone the repository
  • In terminal, go to /medium-app directory and use below command
docker-compose up --build

Docker Memory Hungry

I have encountered this issue where the Docker process is running in background even after the docker is closed.

Docker uses Windows Subsystem for Linux which is a feature of Microsoft Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting.

Go to Powershell

wsl --shutdown

To reduce the RAM usage by WSL by giving a .wslconfig config file.

Go to C:/Users/<user_id>/ and create a file .wslconfig and the below details. Add processors can be half of total processors.

[wsl2]
memory=2GB
processors=1 

You can check your processor cores in Task Manager > Performance > CPU > Here check for Cores field.

After this config file is created. You can start docker and it only consumes the resources within the limit.


About

This app is a clone of Medium Blog Website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published