COMMAN (short for "Company Manager") is a web application designed to streamline manufacturing, inventory, and sales operations for companies that produce and sell industrial products such as grinding stones, cutting discs, and hardware supplies.
- Client, Product, and Order management
- Manufacturing tracking and formula management
- Inventory control and supplier handling
- Optimized for desktop and mobile usage
- Ruby on Rails 8
- PostgreSQL
- TailwindCSS
- Hotwire (Turbo + Stimulus)
- RSpec for testing
git clone https://github.com/damianfarina/comman.git && cd commanbin/setup && bin/rails db:seed- bin/setup installs Ruby gems, prepares the database, and runs migrations.
- bin/rails db:seed populates the database with essential initial data, including:
- Default user
- Default discounts
- Default in-house supplier
cp .env.sample .envEdit .env and set the environment variables as needed.
You can also create environment-specific files:
- .env.dev
- .env.staging
- .env.production
- .env.demo
To use them, specify it with the -f flag. For example:
dotenv -f .env.staging kamal deploy --destination stagingbin/rails sbin/rspecdotenv -f .env.production kamal deployEach deployment environment (e.g. a specific client or demo instance) uses its own config/deploy.[newserver].yml file.
cp config/deploy.yml config/deploy.newserver.yml
cp .env.sample .env.newserver- Server IP or hostname
- Docker image tag
- Volumes, environment variables, secrets, etc.
dotenv -f .env.newserver kamal setup -d newserver
dotenv -f .env.newserver kamal deploy -d newserverThis project uses AppSignal for error tracking and performance monitoring.
To enable AppSignal, set the following environment variables in your .env or environment-specific file:
APPSIGNAL_APP_NAME(required): Your AppSignal project nameAPPSIGNAL_ACTIVE(optional): Set to 'true' to enable, 'false' to disable (default: true in production)APPSIGNAL_APP_ENV(optional): The environment name (e.g. production, staging)APPSIGNAL_PUSH_API_KEY(required): Your AppSignal project API keyAPPSIGNAL_FRONTEND_API_KEY(required): Your AppSignal frontend API key
For more details, see the AppSignal documentation.
- Billing and invoicing
- Supplier price list importer
- Quick access to resources using mobile camera + QR codes
- Dashboard with production charts
- Role-based access for administrators, salespeople, and operators