Add script to deploy the generated html archive to a server.
This commit is contained in:
parent
f3b0319d5a
commit
0116646dd9
@ -5,7 +5,8 @@ This repository contains the tickets, scripts, and documentation for the end of
|
||||
`pip install -e .`
|
||||
|
||||
## Standalone Epilogue Scripts
|
||||
Run these before running commands from the epilogue package.
|
||||
#### `deploy_archives`
|
||||
Run this once the archives have been built to tar them up and scp them to the server.
|
||||
|
||||
#### Wiki Data
|
||||
##### `find_data`
|
||||
|
8
deploy_archives
Executable file
8
deploy_archives
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
HOSTNAME=glitchcity.info
|
||||
ARCHIVE_PATH=/var/www/html/gclarchives
|
||||
|
||||
cd archives
|
||||
tar -cvf forums.tar forums
|
||||
scp forums.tar $HOSTNAME:$ARCHIVE_PATH
|
||||
ssh $HOSTNAME "cd $ARCHIVE_PATH; tar -xvf forums.tar"
|
Loading…
x
Reference in New Issue
Block a user