Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
Instructions for deploying tDAR:
- Check out tDAR from SVN
- find and rename all files with a .production template files in src/main/resources and src/main/webapp/includes removing .production
- build tDAR with the following command: mvn clean compile war:war -Pproduction
- restart tomcat: sudo service tomcat6 restart
- restart apache for good measure: sudo service apache2 restart
script for deploying alpha
#!/bin/sh
cd ~/tDAR/
svn update .
mvn clean compile war:war -Palpha
sudo service tomcat6 stop
sudo rm -Rrf ~tdar/app/ROOT
sudo service tomcat6 restart
script for deploying production
#!/bin/sh
cd ~/tDAR/
svn update .
mvn clean compile war:war -Pproduction
sudo service tomcat6 stop
sudo rm -Rrf ~tdar/app/ROOT
sudo service tomcat6 restart
Other Notes
- tDAR's dependencies are all managed with apt-get including postgres, apache, and tomcat.
- tdar is installed in: /home/tdar (filestore in ~/filestore folder, ~/app is symlink to tomcat webapps)
- postgres is installed in: /home/postgres (backups in backups folder)
- all conf files are in /etc/