https://github.com/workarea-commerce/workarea-demo
Demo application for the Workarea Commerce platform
https://github.com/workarea-commerce/workarea-demo
Last synced: 4 months ago
JSON representation
Demo application for the Workarea Commerce platform
- Host: GitHub
- URL: https://github.com/workarea-commerce/workarea-demo
- Owner: workarea-commerce
- License: other
- Created: 2019-06-06T18:03:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T17:55:07.000Z (almost 7 years ago)
- Last Synced: 2025-12-13T08:13:56.116Z (7 months ago)
- Language: Dockerfile
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Workarea Demo
================================================================================
Get a demo instance of Workarea running with Docker.
Setup
--------------------------------------------------------------------------------
To setup a demo application, you can run the following command:
```bash
curl -s https://raw.githubusercontent.com/workarea-commerce/workarea-demo/master/bin/install | bash
```
This will run a script that does the following:
* clone this repository.
* build a Docker image for the application
* start containers for the application and required services
* seed the database
* start the application server
Once complete, you can visit `http://localhost:3000` to view your app. The seed data provides an admin user with an email/password of `user@workarea.com/w0rkArea!`.
To stop the application, run:
```bash
docker-compose down
```
If you want to restart an existing demo app, navigate to the `workarea-demo/` directory and run:
```bash
docker-compose up
```
To reseed your application, ensure your containers are up, and run:
```bash
docker-compose exec -T workarea_demo bin/rails db:seed
```
Troubleshooting
--------------------------------------------------------------------------------
If any of the Docker containers fail to start make sure you do not have any other services or containers running that are using the same ports.
Workarea services use ports `27018`, `9201`, `6389`, and `3000`.
If `https://localhost:3000` seems sluggish, or completely unresponsive, you might need to increase Docker's memory allocation within Docker's advanced preferences. We suggest at least 4GB.