预览 Buy, Sell Marketplace Ver 1.1.1 等待分享

Script required to run on VPS or Serverrequired php_pdo, php version >= 5.4support via skype: santd8

标签:
  1. 0daydown
    [​IMG]
    Script required to run on VPS or Server
    required php_pdo, php version >= 5.4

    support via skype: santd86
    21/05/2015 Fix bug change email re-chmod for share hosting
    25/02/2015 Fix bug file zip compress with: application/octet-stream
    23/02/2015 Update .htaccess file for hostshare
    09/02/2015
    create index.php support full for host share
    Host share must:
    support php_pdo, pdo_mysql, mod_rewrite.
    Update 18/01/2015
    - update .htaccess file for share hosting
    - change chmod permission for share hosting
    Update 17/01/2015
    - Add Affiliate System:
    Config: open parameters.yml and change: rateRef: 0.03
    - Username min length 6 character
    - Paygate Bao Kim, Ngan Luong for Viet Nam
    - Send Email newsletter on backend
    - Send email contact user on profile page
    - Send mail console: config crontab
    • * * * * /usr/bin/php PATH/app/console SendMail > /dev/null 2>&1
    change PATH to your path on server
    - Fix some issue
    =================================
    Marketplace: Will upload source code, products ( you, we, or another . etc) user will buy it with credit (fund via paypal to system) you will receive money…
    System will use paypal gateway for user fund money to buy source code, buy courses. and benefit will paid for author via paypal.
    System will support multi language in frontend site.
    Backend support :
    + banned user
    + disable items.
    + add, remove, change information
    + review approve, reject item user upload new or update version.
    + report current day for: new sales, new users, new upload or update items.
    You can see it at: Zodaco | Buy, Sell Source Code, Scripts, Plugins, Themes and Templates
    To Setup: - Unzip source code
    - open file app/config/parameters.yml
    + Change database info:
    database_host: 127.0.0.1
    database_name:
    database_user:
    database_password:
    + Change rate money user will recive for earch product selled, course selled. by
    “netMoney: 0.7” //70%
    + Change fee cashout when user withdrawal
    “feeCashout: 0.5” //0.5%
    + Change min money can cashout when user withdrawal
    “minCashout: 50” //50$
    + Change size max file can upload
    maxPreview: 10 //10mb
    maxMain: 100 //100mb
    - Import database:
    import file data.sql to your system (database included sample)
    - Upload source code to Server
    - chmod 777 folder and sub-folder:
    app/cache
    - chmod 777 folder and sub-folder:
    web/uploads
    - chmod 777 folder and sub-folder in root directory:
    items
    - chmod 777 folder and sub-folder in root directory:
    app/sessions
    - Change api password, ID paypal open file
    src/Market/ZodacoBundle/Paypal.php
    find and change:
    const API_UserName = "";
    const API_Password = "";
    const API_Signature = "";
    - That All.
    Congrats, Your system will running.
    Demo Account:
    email: demo@demo.com
    username: demo
    password: 12345678
    Note: demo account can’t change all action in backend, this account only view.
    Support: We provide support within the comments section. So when you have questions, we’re here to answer. So let’s get the new top list app code!
    Please. Use Server or VPS to install and run this source. I not suggess use share hosting, it very bad config for symfony2.
    If need VPS you can register by this link.
    Simple Cloud Computing, Built for Developers | DigitalOcean
    $5/month
    Or another service if you wan’t
    Demo config file on server
    1. With server, vps use nginx Cretate file your_server.conf on /etc/nginx/conf.d/ (change your_server to your name) with content bellow:
    server { listen 80; server_name chomanguon.vn; server_name www.chomanguon.vn;
    error_log /var/log/nginx/chomanguon.error.log;
    access_log /var/log/nginx/chomanguon.access.log;
    location / {
    root /var/www/chomanguon/web;
    index app.php index.php index.html index.htm;
    try_files $uri $uri/ /app.php?q=$uri&$args;
    }
    error_page 404 /404.html;
    location = /404.html {
    root /var/www/chomanguon/web;
    }
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
    root /var/www/chomanguon/web;
    }
    location ~ \.php$ {
    root /var/www/chomanguon/web;
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index app.php;
    1. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_param SCRIPT_FILENAME $request_filename;
      include fastcgi_params;
    }
    }
    Change /var/www/chomanguon to your path
    if use Apache, use guide bellow;
    Insert this config to http-vhost.conf or httpd.conf
    <VirtualHost *:80>
    ServerName domain.com
    ServerAlias www.domain.com
    DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/wse/web"
    <Directory "/Applications/XAMPP/xamppfiles/htdocs/wse/web">
    Options Indexes FollowSymLinks Includes execCGI
    AllowOverride All
    Order Allow,Deny
    Allow From All
    </Directory>
    </VirtualHost>
    Change domain.com to your domain
    change /Applications/XAMPP/xamppfiles/htdocs/wse to your path source on server
    DONE