Because Cassiopeia provides multi-shop management system, shop installation is necessary step when creating new shop.
Create new directories and files for new shop at the shop/ directory under the Cassiopeia root directory. This can be done just run following command.
Suppose that the new shop's username is test, run create_shop.rb on the bin/ directory under the Cassiopeia root directory.
% ruby bin/create_shop.rb test
Please edit the file config.rb under the new shop directory. Following fields MUST be modified.
Create required database tables to database which is specified by config.rb (see Configuration). This can be done just run following command.
Suppose that the new shop's username is test, run init_db.rb on the bin/ directory under the Cassiopeia root directory.
% ruby bin/init_db.rb test
Register new shop user to the database with its password. Please make sure to remember the password. This can be done just run following command.
Suppose that the new shop's username is test, password is x5WYe82, run init_db.rb on the bin/ directory under the Cassiopeia root directory.
% ruby bin/register_shop.rb test x5WYe82
Unregister shop user from the database. This can be done just run following command.
Suppose that the new shop's username is test run unregister_shop.rb on the bin/ directory under the Cassiopeia root directory.
% ruby bin/unregister_shop.rb test
Delete shop directories and files on the shop/ directory under the Cassiopeia root directory. This can be done just run following command.
Suppose that the new shop's username is test run remove_shop.rb on the bin/ directory under the Cassiopeia root directory.
% ruby bin/remove_shop.rb test