did some upgrades while launching a site
This commit is contained in:
parent
74fde32a04
commit
c45b45b796
8
.env
Normal file
8
.env
Normal file
@ -0,0 +1,8 @@
|
||||
NETWORKNAME=
|
||||
MYSQL_ROOT_PASSWORD=
|
||||
MYSQL_USER=
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_DATABASE=
|
||||
MYSQL_USER=
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_DATABASE=
|
18
README.md
18
README.md
@ -1,12 +1,18 @@
|
||||
# Joomla
|
||||
# Joomla Setup and Helper Scripts
|
||||
|
||||
This repository hold all the information Nick has documented about Joomla.
|
||||
There are also helper files and scripts here.
|
||||
This repository contains a comprehensive collection of documentation, scripts, and files to assist in setting up Joomla and managing Joomla projects.
|
||||
|
||||
[Quick Start Guide](https://git.nickyeoman.com/nick/joomla/wiki/Quick-Start)
|
||||
Whether you're new to Joomla or an experienced user, this repository offers a range of resources to streamline your Joomla development workflow.
|
||||
|
||||
* [Gitea Repo](https://git.nickyeoman.com/nick/joomla/)
|
||||
For detailed instructions on getting started, please refer to the [Quick Start Guide]((https://git.nickyeoman.com/nick/joomla/wiki/Quick-Start)) in the [Wiki](https://git.nickyeoman.com/nick/joomla/wiki).
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Quick Start Guide](https://git.nickyeoman.com/nick/joomla/wiki/Quick-Start)
|
||||
* [Gitea Repository](https://git.nickyeoman.com/nick/joomla/)
|
||||
* [Wiki](https://git.nickyeoman.com/nick/joomla/wiki)
|
||||
* [Issues](https://git.nickyeoman.com/nick/joomla/issues)
|
||||
* [Issue Tracker](https://git.nickyeoman.com/nick/joomla/issues)
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions to this repository are welcome! If you find any issues, have suggestions for improvements, or want to add new features, please send me an email: joomla@nickyeoman.com or open an issue in the Issue Tracker (Which I don't check much). I appreciate your interest in this project.
|
||||
|
14
bin/db-dump.bash
Normal file
14
bin/db-dump.bash
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#check if root
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit;
|
||||
fi
|
||||
|
||||
#Grab dotenv
|
||||
export $(grep -v '^#' .env | xargs)
|
||||
|
||||
tstamp=`date +%Y%m%d`
|
||||
|
||||
docker-compose exec mariadb-joomla /usr/bin/mysqldump -u ${MYSQL_USER} --password=${MYSQL_PASSWORD} ${MYSQL_DATABASE} > sql/${JOOMLA_USER}-${MYSQL_DATABASE}-${tstamp}.sql
|
15
bin/file-sync.sh
Normal file
15
bin/file-sync.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
#check if root
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit;
|
||||
fi
|
||||
|
||||
#Grab dotenv
|
||||
rsync -azhvc --del /var/lib/docker/volumes/harvst-ca_joomla/_data/ html/
|
||||
|
||||
# You probably should do something more like this:
|
||||
# docker create --name temp-container -v <source_volume>:/source_data busybox
|
||||
# docker cp temp-container:/source_data /path/to/destination_directory
|
||||
# docker rm temp-container
|
@ -11,7 +11,7 @@ fi
|
||||
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://github.com/templaza/astroid-framework/releases/download/v2.6.5/astroid-package-v2.6.5.Framework-Template.zip
|
||||
|
||||
# Sitemap
|
||||
[GitHub](https://github.com/joomlashack/OSMap)
|
||||
# [GitHub](https://github.com/joomlashack/OSMap)
|
||||
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://deploy.ostraining.com/client/download/free/latest-stable/com_osmap
|
||||
|
||||
# Comments
|
||||
|
@ -1,9 +1,5 @@
|
||||
# Development directory
|
||||
|
||||
This directory is accessable from the Joomla installation app.
|
||||
|
||||
it mounts as /development
|
||||
should be removed from your production
|
||||
includes git sub modules to other repositories
|
||||
# Development Directory
|
||||
|
||||
The development directory in this repository is specifically intended for use within the staging environment of Joomla installations.
|
||||
It serves as a mount point within the Joomla installation app for easy extension installation.
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
|
||||
joomla:
|
||||
volumes:
|
||||
- ./development:/development
|
||||
|
@ -2,11 +2,10 @@ version: '3.8'
|
||||
|
||||
# For Staging
|
||||
# docker-compose -f docker-compose.yml -f docker-compose.staging.yml --env-file .env.staging up -d
|
||||
# docker-compose -f docker-compose.yml -f docker-compose.staging.yml --env-file .env.staging down
|
||||
#
|
||||
# For Production
|
||||
# docker-compose up -d
|
||||
# docker-compose down
|
||||
|
||||
|
||||
volumes:
|
||||
joomla-db:
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Joomla Repository Documenation
|
||||
|
||||
Nick's Joomla Repository Documenation is located in the Repo's wiki: https://git.nickyeoman.com/nick/joomla/wiki
|
@ -1 +1,9 @@
|
||||
<!-- Placeholder -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Placeholder</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Placeholder</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user