This commit is contained in:
nomadics9 2025-02-09 17:33:40 +03:00
parent 5cd1a914fc
commit 1d6f52f692
2 changed files with 10 additions and 8 deletions

View file

@ -6,32 +6,34 @@
git clone https://git.askar.tv/oont/oont-dev
cd oont-dev
```
2. download Themes, plugins, themes and extract them in oont
download Themes, plugins, themes and extract them in oont
### Mac & Linux
```
curl -o temp.zip 'https://fs.nmd.mov/p/oont/?zip' && unzip temp.zip -d oont && rm temp.zip
curl -o temp.zip 'https://fs.nmd.mov/p/oont/?zip' && unzip temp.zip -d oont && rm temp.zip && cd oont && git clone https://git.askar.tv/oont/oont-contents
```
### Windows
```
curl -o temp.zip 'https://fs.nmd.mov/p/oont/?zip' ; Expand-Archive temp.zip -DestinationPath oont ; Remove-Item temp.zip
curl -o temp.zip 'https://fs.nmd.mov/p/oont/?zip' ; Expand-Archive temp.zip -DestinationPath oont ; Remove-Item temp.zip; Set-Location -Path oont ; git clone https://git.askar.tv/oont/oont-contents
```
### Manual Download
```
https://fs.nmd.mov/p/oont/?zip
!!Then Extract it into oont directory inside the repo!!
inside the dir also
git clone http://git.askar.tv/oont/oont-contents
```
3. Install docker if you dont have it
2. Install docker if you dont have it
```
docker compose up -d
```
4. Sync
3. Sync
```
docker exec -it wp-wordpress-1 sync
```
5. Pateience, your local wp should be at
4. Pateience, your local wp should be at
```
http://localhost:8081
```

View file

@ -20,8 +20,8 @@
# COPY THEMES AND PLUGINS
####################################
echo "=== Copying Themes, plugins & uploads ==="
cp -r /var/www/oont/themes/ /var/www/html/wp-content
cp -r /var/www/oont/plugins/ /var/www/html/wp-content
cp -r /var/www/oont/oont-contents/themes/ /var/www/html/wp-content
cp -r /var/www/oont/oont-contents/plugins/ /var/www/html/wp-content
cp -r /var/www/oont/uploads /var/www/html/wp-content
cp -r /var/www/oont/uploads-webpc/ /var/www/html/wp-content
####################################