diff --git a/.gitignore b/.gitignore index a2a78f5f2..a0f5c724d 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,9 @@ Thumbs.db # phpstorm .idea/* +!.idea/runConfigurations/* +!.idea/codeStyles/* +!.idea/watcherTasks.xml # testing stuff tests/_output/* diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..20c01c645 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "user"] + path = user + url = https://github.com/Crabston/grav-skeleton-minimal.git diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 000000000..a55e7a179 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Compile_SASS__local.xml b/.idea/runConfigurations/Compile_SASS__local.xml new file mode 100644 index 000000000..2b9d8024e --- /dev/null +++ b/.idea/runConfigurations/Compile_SASS__local.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Compile_SASS__minimal.xml b/.idea/runConfigurations/Compile_SASS__minimal.xml new file mode 100644 index 000000000..29fa8a3ab --- /dev/null +++ b/.idea/runConfigurations/Compile_SASS__minimal.xml @@ -0,0 +1,17 @@ + + + + diff --git a/.idea/runConfigurations/Compile_Typescript.xml b/.idea/runConfigurations/Compile_Typescript.xml new file mode 100644 index 000000000..66a1eca07 --- /dev/null +++ b/.idea/runConfigurations/Compile_Typescript.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Install_Dependencies.xml b/.idea/runConfigurations/Install_Dependencies.xml new file mode 100644 index 000000000..274c0b0ee --- /dev/null +++ b/.idea/runConfigurations/Install_Dependencies.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Install_Secrets.xml b/.idea/runConfigurations/Install_Secrets.xml new file mode 100644 index 000000000..77bb50fa1 --- /dev/null +++ b/.idea/runConfigurations/Install_Secrets.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Start_Grav_Server.xml b/.idea/runConfigurations/Start_Grav_Server.xml new file mode 100644 index 000000000..cae1b5146 --- /dev/null +++ b/.idea/runConfigurations/Start_Grav_Server.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml new file mode 100644 index 000000000..8b43008d8 --- /dev/null +++ b/.idea/watcherTasks.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/doppler.yaml b/doppler.yaml new file mode 100644 index 000000000..bb8b75066 --- /dev/null +++ b/doppler.yaml @@ -0,0 +1,3 @@ +setup: + project: grav-core + config: prd diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh new file mode 100755 index 000000000..c729c544d --- /dev/null +++ b/scripts/dependencies.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Install vendor packages +composer install + +# Install default plugins +bin/gpm install -y error +bin/gpm install -y markdown-notices +bin/gpm install -y problems + +# Install other plugins +bin/gpm install -y admin +bin/gpm install -y devtools +bin/gpm install -y featherlight +bin/gpm install -y license-manager +bin/gpm install -y lightbox-gallery +bin/gpm install -y youtube +bin/gpm install -y sitemap +bin/gpm install -y private + +# Install shortcode plugins +bin/gpm install -y shortcode-core +bin/gpm install -y shortcode-gallery-plusplus +bin/gpm install -y shortcode-owl-carousel +bin/gpm install -y shortcode-ui diff --git a/scripts/secrets.sh b/scripts/secrets.sh new file mode 100755 index 000000000..0d2cb3775 --- /dev/null +++ b/scripts/secrets.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# Get Environment Variables +SALT=$(doppler secrets get SALT --plain) +LICENSE_LIGHTBOX_GALLERY=$(doppler secrets get LICENSE_LIGHTBOX_GALLERY --plain) +INTERN_PWD=$(doppler secrets get INTERN_PWD --plain) +DOMAIN_STG=$(doppler secrets get DOMAIN_STG --plain) +DOMAIN_PRD=$(doppler secrets get DOMAIN_PRD --plain) + +# Set Environment Variables in .env.local +rm -f .env.local +touch .env.local +echo "SALT=$SALT" >> .env.local +echo "LICENSE_LIGHTBOX_GALLERY=$LICENSE_LIGHTBOX_GALLERY" >> .env.local +echo "INTERN_PWD=$INTERN_PWD" >> .env.local +echo "DOMAIN_STG=$DOMAIN_STG" >> .env.local +echo "DOMAIN_PRD=$DOMAIN_PRD" >> .env.local diff --git a/user b/user new file mode 160000 index 000000000..cfd705430 --- /dev/null +++ b/user @@ -0,0 +1 @@ +Subproject commit cfd705430642786d31629cc6200a43c94f009ee2