- On one Terminal, locate to the docs ,then remove build file(if present) using this command:
sudo rm -rf build/
- Then use these commands
docker-compose
sudo docker-compose up
- Now on another terminal, after the completion of 1st, locate to inside of the build file i.e.
cd build/_build/html
- Then finally run the command
sudo python3 -m http.server 80