Skip to content

Commit

Permalink
WP site loading. WIP - need docker setting up sym link to content dir…
Browse files Browse the repository at this point in the history
… etc.
  • Loading branch information
stratease committed Jun 22, 2024
1 parent f7e8adf commit 3176796
Show file tree
Hide file tree
Showing 394 changed files with 83,291 additions and 35 deletions.
35 changes: 5 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,20 @@
#
# Note: if you want to stage/commit WP core files
# you can delete this whole section/until Configuration.
/wp-admin/
/wp-content/index.php
/wp-content/languages
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
/wp

# Configuration
wp-config.php

# Example themes
/wp-content/themes/twenty*/

# Example plugin
/wp-content/plugins/hello.php

# Uploads
/wp-content/uploads/
# Example plugins
/wp-content/*

# Log files
*.log

# htaccess
/.htaccess

# All plugins
#
# Note: If you wish to whitelist plugins,
# uncomment the next line
#/wp-content/plugins

# All themes
#
# Note: If you wish to whitelist themes,
# uncomment the next line
#/wp-content/themes
# Others
.idea
vendor
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "wp"]
path = wp
url = https://github.com/WordPress/WordPress/
[submodule "content/plugins/plugin-analysis"]
path = content/plugins/plugin-analysis
url = [email protected]:the-events-calendar/plugin-analysis.git
20 changes: 20 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .htaccess from ansible template
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(wp-admin/.*)$ /wp/$1 [L]
RewriteRule ^(wp-[^/]+\.php)$ /wp/$1 [L]
RewriteRule ^xmlrpc\.php$ /wp/xmlrpc.php [L]
RewriteRule ^(wp-includes/.*)$ /wp/$1 [L]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
80 changes: 80 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"name": "tec-performance-analysis/website",
"license": "GPL-2.0-or-later",
"description": "The TEC Performance Analysis Website",
"homepage": "https://performance.theeventscalendar.com/",
"minimum-stability": "dev",
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/tribe-common"
},
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/the-events-calendar"
},
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/event-tickets-plus"
},
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/event-tickets"
},
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/events-pro"
},
{
"type": "vcs",
"url": "https://github.com/the-events-calendar/plugin-analysis"
}
],
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"composer/installers": "*",
"johnpbloch/wordpress-core": "~6.4",
"johnpbloch/wordpress-core-installer": "~2.0",
"the-events-calendar/the-events-calendar": "dev-master",
"the-events-calendar/events-pro": "dev-master",
"the-events-calendar/event-tickets": "dev-master",
"the-events-calendar/event-tickets-plus": "dev-master",
"the-events-calendar/plugin-analysis": "dev-main",
"the-events-calendar/tribe-common": "dev-master",
"stellarwp/coding-standards": "^2.0"
},
"require-dev": {
"kjohnson/since-unreleased": "^1.0"
},
"extra": {
"enable-patching": true,
"wordpress-install-dir": "wp",
"installer-paths": {
"wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
],
"wp-content/plugins/{$name}": [
"type:wordpress-plugin"
],
"wp-content/themes/{$name}": [
"type:wordpress-theme"
]
}
},
"scripts": {
"pre-autoload-dump": [
"cd wp-content/plugins/the-events-calendar && composer i --ignore-platform-reqs --no-dev && git submodule update --init && cd common && composer i --ignore-platform-reqs --no-dev\n",
"cd wp-content/plugins/plugin-analysis && composer i --ignore-platform-reqs\n"
]
}
}
Loading

0 comments on commit 3176796

Please sign in to comment.