React Native template for projects built and running in Docker
See this example project running here techteam-react-template-268418.appspot.com
Example react project credits: https://github.com/KarthikeyanRanasthala/react-unit-converter
Make sure you have Docker installed. Follow the instructions for getting started https://www.docker.com/get-started
Make sure you have Yarn installed for package management.
Check with yarn --version
You might also want to upgrade Yarn if it's been a while.
brew upgrade yarn
If you don't have it, you can install Yarn with Homebrew.
brew install yarn
Or with this shell script in macOS and generic Unix environments.
curl -o- -L https://yarnpkg.com/install.sh | bash
If you encounter any problems with installing Yarn, visit https://classic.yarnpkg.com/en/docs/install
Run make start
to build and run the Docker container.
The project will run locally in http://localhost:3001
and will compile automatically upon changes to the src code.