Website: Update deployment script
The flamenco.io website moves to flamenco.blender.org! This commit updates the Makefile as follows: - Rename 'site' to 'project-website', so the new command to deploy is 'make project-website' - Move the website directory from 'flamenco-io-site' to 'project-website' - Update the rsync command do reflect the new deployment destination
2
.gitignore
vendored
@ -31,7 +31,7 @@ __pycache__
|
|||||||
|
|
||||||
web/manager-api/dist/
|
web/manager-api/dist/
|
||||||
web/static/
|
web/static/
|
||||||
web/flamenco-io-site/public/
|
web/project-website/public/
|
||||||
/dist/
|
/dist/
|
||||||
/tools/
|
/tools/
|
||||||
|
|
||||||
|
8
Makefile
@ -186,10 +186,10 @@ clean-webapp-static:
|
|||||||
mkdir -p ./${WEB_STATIC}
|
mkdir -p ./${WEB_STATIC}
|
||||||
touch ${WEB_STATIC}/emptyfile
|
touch ${WEB_STATIC}/emptyfile
|
||||||
|
|
||||||
site:
|
project-website:
|
||||||
rm -rf web/flamenco-io-site/public/
|
rm -rf web/project-website/public/
|
||||||
cd web/flamenco-io-site; hugo --baseURL https://www.flamenco.io/
|
cd web/project-website; hugo --baseURL https://flamenco.blender.org/
|
||||||
rsync web/flamenco-io-site/public/ flamenco.io:flamenco.io/ \
|
rsync web/project-website/public/ flamenco@flamenco.blender.org:/var/www/flamenco.blender.org/ \
|
||||||
-va \
|
-va \
|
||||||
--exclude v2/ \
|
--exclude v2/ \
|
||||||
--exclude .well-known/ \
|
--exclude .well-known/ \
|
||||||
|
@ -16,7 +16,7 @@ has something to work with, even before any static files have been built.
|
|||||||
|
|
||||||
Hugo is automatically installed when running `make with-deps`, but you can also [manually install Hugo](https://gohugo.io/getting-started/installing/).
|
Hugo is automatically installed when running `make with-deps`, but you can also [manually install Hugo](https://gohugo.io/getting-started/installing/).
|
||||||
|
|
||||||
To locally run the site, from the `web/flamenco-io-site` directory, start the server with:
|
To locally run the site, from the `web/project-website` directory, start the server with:
|
||||||
|
|
||||||
```
|
```
|
||||||
hugo server -D
|
hugo server -D
|
||||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
0
web/flamenco-io-site/themes/hugo-geekdoc/LICENSE → web/project-website/themes/hugo-geekdoc/LICENSE
0
web/flamenco-io-site/themes/hugo-geekdoc/VERSION → web/project-website/themes/hugo-geekdoc/VERSION
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 225 KiB After Width: | Height: | Size: 225 KiB |
Before Width: | Height: | Size: 508 KiB After Width: | Height: | Size: 508 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |