AsaCoco Store
Installation
- Clone this repository.
git clone https://github.com/AsaCoco-Store/AsaCoco-Store.git
cd AsaCoco-Store
- Compile it.
shards build
Usage
Run the executable and the website will be generated in dist
bin/asacoco_store
Development
To add a new product, edit src/products.yml
and upload the image to src/assets
.
Product
| name | description | type | required | |:-------:|:----------------------:|:-------:|:--------:| | name | product name | string | true | | type | AsaCoco type | string | false | | image | image file name | string | true | | srp | suggested retail price | integer | false | | price | price | integer | true | | monthly | monthly | boolean | false | | url | real product url | string | false | | cm | advertisement | CM | true |
CM
| name | description | type | required | |:----------:|:-------------------------------:|:-------:|:--------:| | id | AsaCoco YouTube video ID | string | true | | start_time | advert starting time in seconds | integer | true | | end_time | advert ending time in seconds | integer | true |
Contributing
- Fork it (https://github.com/AsaCoco-Store/asacoco-store/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
- Tatsujin Chin - creator and maintainer
Special Thanks
Kiryu Coco
Credits
License
All images are copyright to Cover Corp.
The other parts are licensed under the MIT License.