github.com/one-in-ten-thousand/production_line_report
master / published Sep 24, 2024 / repository
production_line_report
production_line_report
TODO: Write a description here
Installation
- Follow this page install Crystal, after install sucessful, you should run
crystal,shardscommand sucessful. - [Optional] Follow this install lucky command, this step only needed if you want rollback db/migrations etc.
- Run
shardsto install dependencies into./lib - Start pg server sucessful.
- Run
lucky db.createcreate database.
Usage
- run
shards runto start server. - Visit
localhost:3000.
Deployment
-
For built a static bianry which can be run any linux distro, you must use Docker, more details will add later.
-
For built on ARM device, use following command.
crystal build --cross-compile --target arm-linux-gnueabihf src/production_line_report.cr
Then run the generated cc command in ARM device.
Contributing
- Fork it (https://github.com/zw963/production_line_report/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Billy.Zheng - creator and maintainer
API
- Admin
- BaseModel
- Company
- CompanyQuery
- Context
- DeleteCompany
- DeleteManufactory
- DeleteProcessLine
- DeleteProduct
- DeleteReport
- DeleteWorkshop
- GraphqlController
- Manufactory
- ManufactoryQuery
- ProcessLine
- ProcessLineQuery
- Product
- ProductQuery
- Report
- ReportInput
- ReportQuery
- SaveCompany
- SaveManufactory
- SaveProcessLine
- SaveProduct
- SaveReport
- SaveWorkshop
- Types
- ViewHelpers
- Workshop
- WorkshopQuery