Skip to content

Latest commit

 

History

History
executable file
·
114 lines (84 loc) · 3.47 KB

README.md

File metadata and controls

executable file
·
114 lines (84 loc) · 3.47 KB

Social Network Posts Delete Manager

If you hate delete facebook or twitter posts one by one. Try the delete manager. It's so easy to delete multiple social network posts by one click.

DIRECTORY STRUCTURE

  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

Server Configuration Suggestion

Nginx

server {
	listen *:80;
	#listen [::]:80 ipv6only=on;

	root /var/www/html/posts-manager/web;
	index index.php;

	# Make site accessible from http://localhost/
	server_name pm.zhexiao.space;

	access_log /var/log/nginx/pm.access.log;
	error_log /var/log/nginx/pm.error.log;

	location / {
		# First attempt to serve request as file, then
		# as directory, then fall back to displaying a 404.
		# try_files $uri $uri/ =404;
		try_files $uri $uri/ /index.php?$args;
		# Uncomment to enable naxsi on this location
		# include /etc/nginx/naxsi.rules
	}	

	error_page 404 /404.html;
	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /var/www/html;
	}

	location ~ \.php$ {
		try_files $uri =404;
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass unix:/var/run/php5-fpm.sock;
		fastcgi_index index.php;
		include fastcgi_params;
	}

	location ~ /\.(ht|svn|git){
		deny all;
	}

}

Apache

<VirtualHost *:80>
    DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/posts-manager/web"

    <Directory "/Applications/XAMPP/xamppfiles/htdocs/posts-manager/web">
        # use mod_rewrite for pretty URL support
        RewriteEngine on
        # If a directory or a file exists, use the request directly
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        # Otherwise forward the request to index.php
        RewriteRule . index.php
    </Directory>

    ServerName local.pm.com
    ErrorLog "logs/pm.example.com-error_log"
    CustomLog "logs/pm.example.com-access_log" common
</VirtualHost>

Technical

  • Yii The Fast, Secure and Professional PHP Framework.

  • Mongodb MongoDB is an open-source, document database designed for ease of development and scaling.

  • Angularjs HTML enhanced for web apps.

  • Bootstrap Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

  • Sass Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.

  • Twitter SDK Codebird - A Twitter library in PHP.

  • Facebook SDK Facebook Official SDK - "facebook/php-sdk-v4" : "4.0.*"