Rkosei34 / DockerFlaskReact

docker 🐳compose 🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run app.

  • Make sure you have docker installed on local machine
  • run docker-compose-up
  • check that flask server is up by going to http://localhost:5000/api
  • Navigate to http://localhost:3000/ on the browser.

Note

If you see this:

npm ERR! UpScore@0.6.0 start: `react-scripts start`
npm ERR! spawn ENOENT

It just means something went wrong when dependencies were installed the first time.

I suggest doing these three steps:

  • npm install -g npm@latest to update npm because it is sometimes buggy.
  • rm -rf node_modules to remove the existing modules.
  • npm install to re-install the project dependencies.

Source - Here By Dan Abramov

About

docker 🐳compose 🚀


Languages

Language:JavaScript 38.2%Language:HTML 32.8%Language:CSS 17.7%Language:Dockerfile 6.6%Language:Python 4.7%