Giter Site home page Giter Site logo

ilhomjonkurbanov / auction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from molotoksoftware/auction

0.0 1.0 0.0 23.13 MB

molotok - php auction software, yii-framework

Home Page: http://molotoksoftware.com

PHP 27.00% CSS 8.68% JavaScript 28.36% HTML 29.73% Hack 0.08% TSQL 6.15%

auction's Introduction

Molotok - php auction script

Open source php/mysql fully featured auction script. Perfect for those who want to start their own auction site. The version we offer is meant for up to 20,000 users per day and can store up to 10,000,000 items.

Installation

Step 1. File copying and permissions setting

Download the file archive on this page and un-zip it to the root directory of the site, another way is to fork a repository from the Github by executing the following command:

git clone https://github.com/molotoksoftware/auction.git .

Then you need to set permissions on data entry in following directories:

/backend/runtime
/backend/www/assets
/console/runtime
/frontend/runtime
/frontend/www/assets
/frontend/www/i2
/frontend/www/tmp
/frontend/www/images/users
/frontend/www/images/admins
/frontend/www/images/news

Step 2. Server setting

It should be configured in a way that the root directory would denote /frontend/www. Such approach would provide additional protection for the data placed on the same level with /frontend. In such a manner, the files placed inside the /frontend/www directory, would become accessible while typing main domain name, e.g. http://youauction.com.

An example of Apache configuration file

<VirtualHost 127.0.0.1:80>
        ServerAdmin webmaster@localhost
        ServerName demo.molotoksoftware.com
        DocumentRoot /var/www/demoMolotok/frontend/www
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/demoMolotok/frontend/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

It is recommended to create a separate subdomain (e.g. admin.youauction.com) for the administrator’s part of the trading platform. In a similar way with the example above, it is necessary to spell out the route to the folder in an Apache config file (e.g. /var/www/demoMolotok/backend/www)

You need mod_rewrite Apache for application operation, you can activate it with the following command:

a2enmod rewrite

Step 3. Database

Create a new database and import auction.sql (SQL Dump) SQL-file in it. This file is stored in the /common/data/ directory.

Step 4. env.php config file

On this stage you need to configure the component for database connection in /common/config/env.php. settings file. Change the parameter value in mysql:host, dbname, username and password fields.

'db'  => [
            'connectionString'      => 'mysql:host=localhost;dbname=dbname',
            'emulatePrepare'        => true,
            'username'              => 'root',
            'password'              => '',
            'charset'               => 'utf8',
            'enableProfiling'       => true,
            'enableParamLogging'    => true,
            'tablePrefix'           => '',
            'schemaCachingDuration' => 0,
        ],

Step 5. Parameter setting

Go to administrator’s part admin.youauction.com -> Settings section, and specify basic parameters. Access data to the administrator’s part:

  • Username: admin
  • Password: 123456

License

Molotok is released completely free of charge under the terms of the GNU General Public License (GPL v.3)

Documentation

http://molotoksoftware.com/en/documentation/part/main

Yii

auction's People

Contributors

molotoksoftware avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.