Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# simpl-sdk
A docker image that consist of .netcore sdk, nodejs and postgresql-client
# A toolkit for module's author to quickly add module into SimplCommerce
SimplCommerce is a platform based on modular architecture at https://github.com/simplcommerce/SimplCommerce. This project aiming to build a toolkit for module's authors can generate the skeleton of the project and integrate into SimplCommerce in one step.
## Simpl-CLI
Simpl-CLI would be installed into the development environment to generate skeleton of the module. Several commands to create the module for SimplCommerce:
### simpl init module_name
This command will generate a module that following the requirement of SimpleCommerce rules.

The module will be created in the current directory and will be validating the relationship with others modules like `SimplCommerce.Infrastructure.csproj` and `SimplCommerce.Module.Core.csproj`
### simpl build
Performing the steps for packing the module includes of:
* Assets are concatenating for admin pages.
* Generate scripts for database
* Zipping module into a package
* Generate config files

### simpl deploy simplcommerce_path
The step to deploy the module into SimplCommerce at a specific path as below:
* Validate the existing of module file in current directory
* Extract and copy assets into SimplCommerce
* Adding assets for Admin
* Run scripts to create database migration.
## Docker Image
A docker image that consists of .netcore SDK, Node.js and PostgreSQL-client