Closed 3vivekb closed 7 years ago
Go to /srv/vta.amigocloud.com/OTP/target/ and download the 1.0 version with wget http://maven.conveyal.com.s3.amazonaws.com/org/opentripplanner/otp/1.0.0/otp-1.0.0-shaded.jar
At the end of load_data.sh add the build command:
sudo supervisorctl stop vta:vta_otp
java -Xmx6G -Xverify:none -jar /srv/vta.amigocloud.com/OTP/target/otp-1.0.0-shaded.jar --build /srv/vta.amigocloud.com/data --cache /srv/vta.amigocloud.com/ned/
sudo supervisorctl restart vta:vta_otp
And change the supervisor command to run otp:
command=java -Xmx6G -Xverify:none -jar /srv/vta.amigocloud.com/OTP/target/otp-1.0.0-shaded.jar --basePath /srv/vta.amigocloud.com/ --graphs /srv/vta.amigocloud.com/data --server --port 8888 --cache /srv/vta.amigocloud.com/ned
Actually you should follow the instructions on the wiki https://github.com/vta/modeify/wiki/OTP-Supervisor-Config
This was completed successfully!
Currently otp is using a snapshot of .20 . Let's get to 1.0!