The lunch meetup app.
- Install postgress (for mac try this)
- once you have done the install go to terminal and execute the following commands
- create a database called lunch_mator
createdb lunch_mator
- create user app
createuser -P -s -e app
- When prompted, provide the password as
root
- You will need NPM 8.11.3
- nvm is an easy to use Node Env Manager
- navigate to
lunch-mator/ui
- execute
npm install
- next up execute
npm run build
this will build the UI (you should not see any errors) - if you are developing the UI you can run
npm run build-watch
The backend is a scala play 2.6 application inorder to run this you will need to install sbt
0. try brew install sbt@1
0. once you have sbt you can execute
sbt run -Dconfig.resource=application.test.conf -Dlogger.resource=test-logback.xml
in the project root. This is start up the play application server(NOTE: This will not build the UI that you will need
to do manually, follow steps above)
0. Once you have the application running, you can navigate to http://localhost:9000
to see the application in action
sbt run -Dconfig.resource=application.test.conf -Dlogger.resource=test-logback.xml
sbt dist
and then
unzip DIST_FILE
sudo DIST_FILE/bin/lunch-mator -Dhttp.port=80