Some scripts are in the bin directory under the Cassiopeia root directory. It helps user to configure a Cassiopeia settings.
init_db.rb initializes shop's database which is specified by config.rb.
# $CASSIOPEIA_HOME/bin/init_db.rb $SHOP_NAME
create_shop.rb create new shop directories and files on $CASSIOPEIA_HOME/shop.
# $CASSIOPEIA_HOME/bin/create_shop.rb $SHOP_NAME
remove_shop.rb destructs shop directory from $CASSIOPEIA_HOME/shop.
# $CASSIOPEIA_HOME/bin/remove_shop.rb $SHOP_NAME
register_shop.rb registers shop user data to database which is specified by $CASSIOPEIA_HOME/shop/$SHOP_NAME/config.rb.
# $CASSIOPEIA_HOME/bin/register_shop.rb $SHOP_NAME $PASSWORD
unregister_shop.rb unregisters shop user data from database which is specified by $CASSIOPEIA_HOME/shop/$SHOP_NAME/config.rb.
# $CASSIOPEIA_HOME/bin/unregister_shop.rb $SHOP_NAME
create_cgi_link.rb create symbolic links to each cgi for one shop.
It is supposed to be used when the links are broken or to use new cgi.
# $CASSIOPEIA_HOME/bin/create_cgi_link.rb $SHOP_NAME
| Prev | Next |