The sample app currently runs on:
Ruby Version: 2.5.8
Rails Version: 6.1.3.1
- To run this app locally using Docker Compose, you must have first have Docker Compose installed
- Once installed you can run
docker-compose buildto build the application web container - Then run
docker-compose run web rails webpacker:installto build the application's webpack manifest - Update the .env file at the root with following values: (WARNING: never upload .env with your credentials/access_token)
SQUARE_APPLICATION_ID=your-app-id
SQUARE_ACCESS_TOKEN=your-app-access-token
- Then run
docker-compose upto start the rails web server
The application will then run and be accessible at http://localhost:3000