As of now there is no container available for react app only. So, you can follow these steps to get a ReactJS app running on codeanywhere.com
- Start a blank container. I used ubuntu 14.04 based blank container.
- Install node, npm and npm react app generator
sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm npm install -g create-react-app create-react-app my-react-app cd my-react-app npm start
- You will see in command prompt the development server is run and http://localhost:3000 or similar address is given for accessing it. Replace
localhostwith your codeanywhere.com container domain followed by the port 3000. That is the public url of your react app. The url will be similar to `http://reactjs-userx12345.codeanyapp.com/`
Leave a comment