#tapeshop
A lightweight shop system. This is in early development and I would not recommend using it in production right know, since it is not tested and has some known security issues.
##Install To install Tapeshop from the source you need composer.
-
Download or checkout the sources of Tapeshop
-
Install composer dependencies and generate autoloader
composer.phar install
or runmake
to generate a clean build -
Configure mod rewrite in your .htaccess file. If you get a
Error 403
you might need to addOptions +FollowSymlinks
in the first line.RewriteEngine On RewriteBase /path/to/tapeshop/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L]
-
Change config.php to fit your database credentials and enter the email addresses for user notification and for support inquiries.
<?php /* * Database Details */ define( "DB_HOSTNAME", "localhost" ); define( "DB_USERNAME", "root" ); define( "DB_PASSWORD", "" ); define( "DB_NAME", "tapeshop" ); define( "DB_PROVIDER", "mysql" ); /* * Template to use */ define('VIEW', 'basic'); // basic /* * Email */ define( "SHOPADRESS", "shop@example.com"); define ("SUPPORTADRESS", "support@example.com"); /* * FPDF */ define('FPDF_FONTPATH','assets/fonts/'); /* * Example Image when no Article Image was passed. */ define('ITEM_PLACEHOLDER','assets/img/placeholder.jpg'); /* * Order number prefix */ define('ORDER_PREFIX', 'TS-'); /* * Sofortüberweisung config key */ define('SOFORT_CONFIG', ''); //your configkey or userid:projektid:apikey define('SOFORT_REASON', 'Tapeshop order'); /* * Paypal settings */ define('PAYPAL_EMAIL', ''); // your paypal email.
-
Create the directorys
upload
andtemplates_c
in the Tapeshop directory and grant read, write, and execute permissions. -
Run the
tapeshop.sql
against your databse to load the DB structure. -
Point your browser to
http://your.domain.tld/path/to/tapeshop/singup
and fill out the form to create a user. -
Use the database management tool of yout choice and find the users table. It should contain only the user you just created. Update the record and set the admin flag to
true
or1
.