Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.0 #24

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
4d66699
ver 2.0, one file setup, totally recoded
pravdomil Jul 13, 2015
eb897c8
readme
pravdomil Jul 13, 2015
d850029
inline css
pravdomil Jul 13, 2015
fb1e595
spinner
pravdomil Jul 13, 2015
3176a43
new step longer fade in
pravdomil Jul 13, 2015
f6614c4
type
pravdomil Jul 13, 2015
af79832
readme
pravdomil Jul 13, 2015
6d36828
release notes
pravdomil Jul 13, 2015
1846a22
not implemented msg
pravdomil Jul 13, 2015
36fe365
no API_CORE
pravdomil Jul 13, 2015
5d7362e
default prefix, prevent special chars
pravdomil Jul 13, 2015
d80001e
timelimit
pravdomil Jul 13, 2015
9741450
config json fix
pravdomil Jul 13, 2015
a10aca7
no translation for now
pravdomil Jul 13, 2015
a89fc54
correct jquery animations
pravdomil Jul 13, 2015
d9a2011
user config vars
pravdomil Jul 13, 2015
a6627b1
user config vars
pravdomil Jul 13, 2015
d2bac71
prefill form with user config, implement the installer
pravdomil Jul 13, 2015
65bfa16
readme
pravdomil Jul 13, 2015
4b161a5
readme
pravdomil Jul 13, 2015
1a5bd15
replace_const and replace_var fix, replace via unique str
pravdomil Jul 13, 2015
41517ae
do not redirect when config
pravdomil Jul 13, 2015
1717b16
readme
pravdomil Jul 13, 2015
43875d1
use CDN !
pravdomil Jul 13, 2015
ca0b8be
cache cdn, fix allow_url_include=0
pravdomil Jul 13, 2015
529d774
fix user_config
pravdomil Jul 13, 2015
89651aa
readme
pravdomil Jul 13, 2015
0144ca1
comunicate allways in json to preserve data types!
pravdomil Jul 13, 2015
7caeace
redirect to admin after installation, make redirect step
pravdomil Jul 13, 2015
958150d
fix calling wp-quick-install directly
pravdomil Jul 13, 2015
818440d
clean up
pravdomil Jul 13, 2015
2b37f02
semicolon
pravdomil Jul 13, 2015
45ba9ea
list all user options
pravdomil Jul 14, 2015
810c9a3
clean up
pravdomil Jul 14, 2015
47f5252
finetune defaults
pravdomil Jul 14, 2015
2ec2a8f
fix loop redirect after install
pravdomil Jul 14, 2015
5bc32ff
version 3.0 !
pravdomil Jul 15, 2015
9a292d7
better check for no installed wp
pravdomil Jul 15, 2015
4d8b591
fix error reporting
pravdomil Jul 15, 2015
0433f19
more secure replace_var and replace_const
pravdomil Jul 15, 2015
0e92c32
fix storing data in cookie
pravdomil Jul 15, 2015
b0fcfc4
do not save db prefix in cookie
pravdomil Jul 15, 2015
bd595de
do not store dynamic variables in cookie
pravdomil Jul 15, 2015
be7b857
check if the table prefix is not already used
pravdomil Jul 15, 2015
91769ed
fix installing plugins !
pravdomil Jul 15, 2015
7e19a70
reorder
pravdomil Jul 15, 2015
b350dfb
data cookie for whole domain
pravdomil Jul 15, 2015
061174d
readme
pravdomil Jul 16, 2015
6356a58
readme
pravdomil Jul 16, 2015
a754b48
readme screenshot
pravdomil Jul 16, 2015
6e7c8a9
readme
pravdomil Jul 16, 2015
963f168
readme
pravdomil Jul 16, 2015
003fce8
readme, config var strategy
pravdomil Jul 16, 2015
18a1617
readme
pravdomil Jul 16, 2015
1f0cbe7
fix config data more vars, when no data is defined
pravdomil Jul 21, 2015
c9c2939
define user config in json
pravdomil Jul 21, 2015
724672a
more robust data init
pravdomil Jul 21, 2015
9536dd9
reorder
pravdomil Jul 21, 2015
d346ebd
move defaults to html
pravdomil Jul 21, 2015
c51779a
Import/export configuration feature
pravdomil Jul 21, 2015
2cf997d
readme
pravdomil Jul 21, 2015
bf75857
readme
pravdomil Jul 27, 2015
045aa2d
Launch the site button
pravdomil Jul 27, 2015
40784a4
fix export configuration dialog
pravdomil Jul 27, 2015
bee5368
show spinner faster
pravdomil Jul 27, 2015
6e686b6
progress bar
pravdomil Jul 31, 2015
c7a6c65
reorder
pravdomil Nov 16, 2015
fbaf9af
minor
pravdomil Mar 31, 2016
3304635
do not store data in cookie
pravdomil Mar 31, 2016
701eee9
typo
pravdomil Mar 31, 2016
bdebba6
docs
pravdomil Mar 31, 2016
09865b9
docs
pravdomil Mar 31, 2016
b775431
correct wp-quick-install url
pravdomil Mar 31, 2016
6971732
no open sans
pravdomil Sep 16, 2016
22f7395
os font
pravdomil Sep 16, 2016
e716709
fix stylesheet url
pravdomil Sep 16, 2016
b57f291
not needed
pravdomil Sep 16, 2016
c38a78e
direct link to raw index.php
pravdomil Jan 31, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 32 additions & 127 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,128 +1,33 @@
WP Quick Install 1.4.1
WP Quick Install
================

WP Quick Install is the easiest way to install WordPress.

A lightweight script which automatically downloads and install WordPress, plugins and themes you want.

Simply download the .zip archive et go to *wp-quick-install/index.php*

Changelog
================

1.4.1
-----------
* Fix quote issue with WordPress.com API Key

1.4
-----------
* Fix database issue since WordPress 4.1
* You can add your WordPress.com API Key

1.3.3
-----------

* Add SSL compatibility
* Remove SSL function (cause trouble with process installation)

1.3.2
-----------

* Add a script header
* Security improvement

1.3.1
-----------

* Fix error for PHP > 5.5: Strict standards: Only variables should be passed by reference in ../wp-quick-install/index.php on line 10

1.3
-----------

* Possiblity to select WordPress language installation
* Permaling management


1.2.8.1
-----------

* You can now declare articles to be generated via data.ini file
* Fix bug on new articles
* You can now select the revision by articles

1.2.8
-----------

* Media management

1.2.7.2
-----------

* Security : Forbiden access to data.ini from the browser

1.2.7.1
-----------

* noindex nofollow tag.

1.2.7
-----------

* Premium extension by adding archives in plugins folder
* You can enable extension after installation
* Auto supression of Hello Dolly extension
* You can add a theme and enable it
* You can delete Twenty Elever and Twenty Ten

1.2.6
-----------

* Fix a JS bug with data.ini

1.2.5
-----------

* You can delete the default content added by WordPress
* You can add new pages with data.ini
* Data.ini update

1.2.4
-----------

* Two new debug options : *Display errors* (WP_DEBUG_DISPLAY) and *Write errors in a log file* (WP_DEBUG_LOG)

1.2.3
-----------

* SEO Fix bug
* Automatic deletion of licence.txt and readme.html

1.2.2
-----------

* Deletion of all exec() fucntions
* Unzip WordPress and plugins with ZipArchive class
* Using scandir() and rename() to move WordPress files

1.2.1
-----------

* Checking chmod on parent folder
* Adding a link to website and admin if success

1.2
-----------

* You can now pre-configure the form with data.ini


1.1
-----------

* Code Optimisation


1.0
-----------

* Initial Commit
The easiest way how to install WordPress - one file installer.

Upload index.php and visit from browser.

Instructions
------------
1. **Upload [index.php](https://raw.githubusercontent.com/pravdomil/WP-Quick-Install/master/index.php) in folder you want have WordPress installed**
2. Visit the folder from internet browser

Features
--------
- Create wp-config
- Choose language
- Create admin user
- Set basic site settings
- Set static front page
- Set permalink structure
- Set default avatar
- Delete default plugins and templates
- Download, install and activate plugins and themes
- Create predefined user installer
- Save configuration in cookie
- Import/export configuration

Screenshot
----------
![Install screen](screenshot.png)

Custom config, auto installer
-----------------------------
Open [index.php](index.php) and follow the instructions.
54 changes: 54 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/*

For auto installer set:
skip_welcome, submit_db, submit_config = true

*/


$user_config = <<<EOD
{
//"skip_welcome": false,

"db":{
//"name": "wordpress",
//"user": "",
//"pwd": "",
//"host": "localhost",
//"prefix": "wp_"
},
//"submit_db": false,

"config":{
//"lang": "",
//"site_title": "",
//"username": "",
//"password": "",
//"email": "",
//"blog_public": true
},
"more":{
//"page_on_front": false,
//"permalink_str": "",
//"avatar": "",
//"no_default_content": false,
//"themes": "",
//"plugins": ""
}
//,"submit_config": false
}
EOD;


$user_config = json_decode(preg_replace("/\s\/\/.*/", "", $user_config), true);

$file = "wp-quick-install.php";
$url = "https://raw.githubusercontent.com/pravdomil/WP-Quick-Install/master/wp-quick-install.php";

if(!file_exists($file))
{
if(!is_writable(__DIR__)) die("Folder does not have sufficient write permissions.");
file_put_contents($file, file_get_contents($url));
}
include $file;
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions style.css

Large diffs are not rendered by default.

Loading