Skip to content
Snippets Groups Projects
Commit a8a1b348 authored by bbartels's avatar bbartels
Browse files

website: add report, update deploy script to prevent clobberring

parent 84baa53d
No related branches found
No related tags found
No related merge requests found
output/
PASSWORD
TEAM
lib/python2.7/site-packages/
pelicanconf.pyc
*.pyc
......
File added
......@@ -13,6 +13,10 @@ sortorder: 005
[Design Document 1](/files/DesignDocument1.docx.pdf)
[Design Document 2](/files/DesignDocument2.pdf)
## Final Report
[Final Report](/files/492FinalReport.pdf)
## Weekly Reports
<iframe src="https://drive.google.com/embeddedfolderview?id=0BywzM7Q_7PUSeF8tdWpmMVN0eG8#list" width="100%" height="500" frameborder="0"></iframe>
......
#!/bin/bash
HOST=may1716.sd.ece.iastate.edu
USERNAME=may1716
if [ ! -e PASSWORD ]; then
if [ ! -e PASSWORD ] || [ ! -e TEAM ]; then
echo "
*****
ERROR: File PASSWORD is missing.
Create a file called PASSWORD in the website root directory, and put the sftp
password in that file. No spaces. No newlines.
ERROR: File PASSWORD or file TEAM is missing.
Create 2 files in the website root directory, one named PASSWORD and another
named TEAM, and put the sftp password and senior design team name in these
files, respectively. No spaces. No newlines.
(The SFTP password was given to us in an email. Just search 'sftp password' in
your CyMail and it will probably be first result.)
your CyMail and it will probably be first result. The senior design team
name is something like mayXXXX or decXXXX)
*****
"
exit 1
fi
TEAM=$(cat TEAM)
PASSWORD=$(cat PASSWORD)
HOST=$TEAM.sd.ece.iastate.edu
USERNAME=$TEAM
chmod -R 755 output || exit 1
#cd output || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment