-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Joshua Monson edited this page Aug 7, 2013
·
12 revisions
Welcome to the Ayamel-Examples wiki!
The purpose of this wiki is to assist with understanding how the software works. If you are looking for help with using the site, please refer to the help pages.
- Controllers
- Data Access
- Models
- Service
- Views
- Configuration - See the Readme
- JavaScript files
- Google Scripts
This project is deployed at http://ayamel.byu.edu under the folder /var/arclite/play-2.1.0/Ayamel-Examples
.
There are several utility scripts which assist with updating git repos, compiling, and restarting the server. All the scripts must be run with admin rights. They are:
-
compile
- This compiles the code -
update
- This updates all the git repos -
start_1
- This starts the first instance of Ayamel -
start_2
- This starts the second instance of Ayamel -
start_all
- This callsstart_1
andstart_2
. This script is called when the server starts. -
stop_1
- This stops the first instance of Ayamel -
stop_2
- This stops the second instance of Ayamel -
stop_all
- This callsstop_1
andstop_2
. This script is called when the server shuts down. -
reload
- This does everything. It updates the repos, compiles, and restarts the instances. When updating the server to roll out changes, just call this script.
The Play services are running on non-standard ports. I set up an Apache proxy which listens for ayamel.byu.edu requests and directs them to the services. The configuration file is located at /etc/apache2/sites-available/ayamel
.