![]() (disabled by default, to enable change bannerEnabled in nfįor the banners to work properly, need to setup google photo API. Self notes, too much trouble for other people to set it up right now. The application should be accessible at localhost:9000.Open another terminal, navigate to airline-web, run the web server by activator run.It should now run the backgroun simulation Now run the background simulation by staying in airline-data, run activator run, select option MainSimulation. ![]() (Optional) For airport image search and email service for user pw reset - refer to.For windows, I recommand downloading the zip archive and just unzip it - the MSI installer did not work on my PC (Optional) For the "Flight search" function to work, install elastic search 7.x, see.Be careful with setting budget and limit, google gives some free credit but it CAN go over and you might get charged! This might not necessary if you run on local host (?), but if you want to host a public one, your probably need to apply one from google and enable the map API. Set google.mapKey in nf with ur google map API key value.In airline-data, run activator run, then choose the one that runs MainInit. You would need to initialize the DB and data on first run.If you see encoding error, add character_set_server=utf8mb4 to your /etc/my.cnf and restart mysql. airline-web has dependency on airline-data, hence navigate to airline-data and run activator publishLocal.Make sure you change the corresponding password logic in the code to match that ( ) install Mysql server and then create database airline_v2, create a user sa, for password you might use admin or change it to something else. This runs on mysql db (install veresion 5.x, i heard newest version 8.x? might not work).The 2 main projects are : airline-web (all the front-end stuff) and airline-data (the backend simulation).(Optional) If you want to import them to Scala IDE (if you want to code), goto the folder of those and run activator eclipse to generate the eclipse project files and then import those projects into your IDE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |