No description
  • PHP 49.8%
  • JavaScript 32.8%
  • CSS 11.5%
  • SCSS 5%
  • Blade 0.9%
Find a file
2020-04-27 21:06:47 -03:00
app Add better tests 2020-02-17 17:09:49 -03:00
bootstrap Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
config Adjust readme and database settings 2020-02-17 18:06:11 -03:00
database Many views and controllers adjusts 2020-02-17 12:19:38 -03:00
public Many views and controllers adjusts 2020-02-17 12:19:38 -03:00
resources Fix links 2020-03-04 15:56:01 -03:00
routes Many views and controllers adjusts 2020-02-17 12:19:38 -03:00
storage Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
tests Add better tests 2020-02-17 17:09:49 -03:00
.env.example Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
.gitattributes Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
.gitignore Add better tests 2020-02-17 17:09:49 -03:00
.remarkrc Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
.sass-lint.yml Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
artisan Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
class-wp-detection.phps Implement version 00.5.0 2018-05-07 13:28:52 -03:00
composer.json Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
composer.lock Update PHP and Javascript dependencies 2020-02-17 18:30:26 -03:00
package-lock.json Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
package.json Many views and controllers adjusts 2020-02-17 12:19:38 -03:00
phpunit.xml Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
README.md Fix url typo 2020-04-27 21:06:47 -03:00
server.php Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
webpack.mix.js Upgrade to Laravel 6.x, fix MariaDB long index error 2020-02-09 23:28:55 -03:00
yarn.lock Update PHP and Javascript dependencies 2020-02-17 18:30:26 -03:00

What's The WP Theme

A Wordpress theme discover. Working version here.

Running locally

Install main dependencies:

Install

The code

git clone https://github.com/rafaelgou/whats-the-wp-theme.git
composer install
cp .env.example .env

Fill database, enviroment, debug and url settings:

APP_ENV=local
APP_KEY=LONG-RANDOM-STRING
APP_DEBUG=true
APP_URL=http://127.0.0.1/8000

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=wtwpt
DB_USERNAME=wtwpt_user
DB_PASSWORD=YOUR-STRONG-PASSWORD

Database

You need a database (MySQL/MariaDB or Postgres). Create a user credentials and a database.

For MySQL it could be:

CREATE DATABASE `whats_the_wp_theme` COLLATE 'utf8_unicode_ci';
CREATE USER 'whats_the_wp_theme'@'%' IDENTIFIED BY 'YOUR-STRONG-PASSWORD';
GRANT ALL PRIVILEGES ON whats_the_wp_theme.* TO 'whats_the_wp_theme'@'%';
FLUSH PRIVILEGES;

Migrating and running

Then you can run:

php artisan migrate
php artisan serve

You'll have the site available at http://127.0.0.1:8000.