Last active
June 29, 2016 14:49
-
-
Save lpirola/65c1e7878593148b6304 to your computer and use it in GitHub Desktop.
Rápida forma de instalar wordpress e utiliza-lo com o plugin do delibera
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir desafio-delibera | |
cd desafio-delibera/ | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
php wp-cli.phar --info | |
chmod +x wp-cli.phar | |
# sudo mv wp-cli.phar /usr/local/bin/wp | |
mv wp-cli.phar wp | |
wp core download | |
wp core config --dbname=delibera --dbuser=root | |
wp core install --path=./ --url=http://localhost:8080 --title=teste-delibera --admin_user=root --admin_password=123 --skip-email --admin_email=teste@teste.com | |
wp server | |
# vi router.php #grab content from https://gist.github.com/tamagokun/3801087#file-router-php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment