This is a project for shopping cart and background management system which includes product, user, order, purchase, sale, inventory, and sale platform.
-
Ruby version :
~> 2.3.0 -
System dependencies
payment : active_merchant_pay2go (This is a thirdparty payment system in Taiwan)
image's place for production :
Amazon s3 -
Configuration
rename
application.example.ymltoapplication.ymlAnd use your own key on
application.yml -
Database creation
This project use
PostgreSQLMake sure you have
PostgreSQLand HomeBrew on your computerstart the postgresql servise
$ brew services start postgresqlcreate a DB
$ createdb maskstorerename
datebase.example.ymltodatebase.yml -
Database initialization
run migration
$ rails db:migratecreate a default admin user
$ rails db:seedUsername :
admin@gmail.compassword :
123123