Script required to run on VPS or Server
required php_pdo, php version >= 5.5
required curl …
support via skype: santd86
Guide setup include.
Marketplace: Will upload source code, products ( you, we, or another . etc) user will buy it with paypal and you will receive money instant …
System will support multi language in frontend site.
You can see demo at:
Note:
– Username min length 6 character
– Send Email newsletter on backend
– Send mail console: config crontab
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%
– Import database:
import file data.sql to your system (database included sample)
– Upload source code to Server
– 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
app/cache
app/logs
– Setting system: open file
src/Market/DigitalBundle/MarketDigitalBundle.php
change some seting
public static $demoMode = 0; //mode live or demo (0: Live, 1: demo)
public static $fb_app = ””; // facebook app_id
public static $fb_key = ””; // facebook seret app key
public static $tw_acc = ””; // twitter account
public static $fb_acc = ””; // facebook account
public static $paypal_sanbox = 1; //method sandbox or live for paypal set = 0 if Live App
static function emailReceiver()
if (self::$paypal_sanbox)
$email = ””; // Email receiver payment sandbox mode
else
$email = ””; // Email receiver payment live mode
return $email;
if (self::$paypal_sanbox)
return array(
“mode” => “sandbox”,
“acct1.UserName” => ””,
“acct1.Password” => ””,
“acct1.Signature” => ””,
“acct1.AppId” => ””
);
else
return array(
“mode” => “live”,
“acct1.UserName” => ””, //change username paypal api live mode
“acct1.Password” => ””, //change password paypal api live mode
“acct1.Signature” => ””, //change signature paypal api live mode
“acct1.AppId” => ”” //change app_id paypal api live mode
);
– Open file src/Market/DigitalBundle/Console/Command/SendMailCommand.php
change
$message = Swift_Message::newInstance()>setSubject($value>getTitle())
->setFrom(””) //To your email>setBody($value>getContent(), ‘text/html’);
if ($value->getEmail() == $value->getReplyEmail())
$message->setTo(””) //To your email
else {
– Open file app/config/parameters.yml
+ Change info Database
database_name: miniassets
database_user: root
database_password: null
+ Change Transport for crontab send mail
mailer_transport:
mailer_host:
mailer_port:
mailer_user:
mailer_password:
– Setup crontab send mail
- * * * * /usr/bin/php PATH/app/console SendMail > /dev/null 2>&1
change PATH to your path on server
– That All.
Congrats, Your system will running.
Demo User Account:
email: demoUser@demo.com
username: demoUser
password: demoUser
Demo Admin Account:
email: demoAdmin@demo.com
username: demoAdmin
password: demoAdmin
Login admin with user, an menu admin will show on right screen.
Note: demo mode 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.
$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 your_domain.com;
server_name www.your_domain.com;
error_log /var/log/nginx/your_domain.com.error.log;
access_log /var/log/nginx/your_domain.com.access.log;
location /
root /var/www/your_domain.com/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/your_domain.com/web;
error_page 500 502 503 504 /50x.html;
location = /50x.html
root /var/www/your_domain.com/web;
location ~ .php$
root /var/www/your_domain.com/web;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index app.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
Change /var/www/your_domain.com 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 "path/your_domain.com/web"
<Directory "path/your_domain.com/web">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Order Allow,Deny
Allow From All
</Directory>
</VirtualHost>
Change domain.com to your domain
change path/your_domain.com to your path source on server
DONE
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!
No comments:
Post a Comment