- Learn how to setup a custom network for your containers: container A talks to container B
- Learn how to run multiple webapps inside Docker containers on different ports with Docker Compose
When you have difficulties in cloning a repository, there is a quick solution for your local environment:
git config --global http.sslVerify false
Please be aware that this is a global deactivation of certificate verification. This is only a quickfix.
In Webstorm, start your application. I prefer the command line:
$ npm start
Choose your project path (because we are Harder IT Consulting, our nickname is HIT – C:\HIT\<application>)
Paste the URL http://localhost:3000 (or the URL you have configured your React Application to run on, 3000 is the default).
In the Terminal, type $npm start
When the application is started, start the Debugging:
Press the DEBUG button at the top right corner with your Debug configuration selected.
Do not forget the React Devtools which come in quite handy. They exist for Chrome, Firefox and Edge. Chrome is https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi
Taken from our Archives: https://harderconsulting.blogspot.com/2019/08/how-to-make-virtualbox-available-on.html
Sometimes fate forces us to work with Windows.
Because Linux is so good, we get a VirtualBox to emulate it.
How can we access a webapplication via localhost:8080 from the Windows machine inside of a Webbrowser?
VirtualBox Manager -> VM-Tools -> Settings -> Network -> Port Forwarding