Skip to content

Commit

Permalink
Merge remote-tracking branch 'old_soundlab_wp/bedrock'
Browse files Browse the repository at this point in the history
Merging in old soundlab-wordpress repo (https://github.com/artshumrc/soundlab-wordpress) from Bedrock branch.
  • Loading branch information
ColeDCrawford committed Sep 6, 2022
2 parents ba1ad99 + 948248f commit 36ac7a5
Show file tree
Hide file tree
Showing 95 changed files with 18,047 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wp-content/
database-backups/
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# soundlab-wordpress
The Sound Lab is a studio for students to experiment with sound production equipment and techniques.

This repo contains the WP site code as of 9 March 2021. The original repo is at https://github.com/artshumrc/soundlab-wordpress-archimedes, but the deployed prod was disconnected from version control.

## TODO
- [x] Get client to run with hot reload for local dev
- [ ] Move everything into one repo - ~~maybe using git submodules?~~ submodules are not a great option as I'd need many deploy keys
- [ ] Consolidate docker-compose
- [ ] Include a MySQL database setup in docker compose and scrubbed DB dump so all you need to do is `composer install` and `docker compose up`
- [ ] Also take care of the Mixtape Maker app
- [ ] Upgrade Node as far as possible for both client and API
- [ ] Figure out deploy
- [ ] Use Cloudfront for frontend and Mixtape Maker? Maybe a future enhancement
28 changes: 28 additions & 0 deletions bedrock/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
DB_NAME='database_name'
DB_USER='database_user'
DB_PASSWORD='database_password'

# Optionally, you can use a data source name (DSN)
# When using a DSN, you can remove the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables
# DATABASE_URL='mysql://database_user:database_password@database_host:database_port/database_name'

# Optional database variables
# DB_HOST='localhost'
# DB_PREFIX='wp_'

WP_ENV='development'
WP_HOME='http://example.com'
WP_SITEURL="${WP_HOME}/wp"

# Specify optional debug.log path
# WP_DEBUG_LOG='/path/to/debug.log'

# Generate your keys here: https://roots.io/salts.html
AUTH_KEY='generateme'
SECURE_AUTH_KEY='generateme'
LOGGED_IN_KEY='generateme'
NONCE_KEY='generateme'
AUTH_SALT='generateme'
SECURE_AUTH_SALT='generateme'
LOGGED_IN_SALT='generateme'
NONCE_SALT='generateme'
29 changes: 29 additions & 0 deletions bedrock/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Application
web/app/plugins/*
!web/app/plugins/soundlab
!web/app/plugins/acf-repeater
!web/app/plugins/.gitkeep
web/app/mu-plugins/*/
web/app/themes/twentytwentytwo/
web/app/upgrade
web/app/uploads/*
!web/app/uploads/.gitkeep
web/app/cache/*

# WordPress
web/wp
web/.htaccess

# Logs
*.log

# Dotenv
.env
.env.*
!.env.example

# Composer
/vendor

# WP-CLI
wp-cli.local.yml
Loading

0 comments on commit 36ac7a5

Please sign in to comment.