-
Notifications
You must be signed in to change notification settings - Fork 1
running mysql and server on ec2
Anubhaw Arya edited this page Mar 15, 2014
·
3 revisions
First, cd CampusFeedv2
Next, Update the git repo, run git pull
To update database changes, forward engineer with mysql workbench.
MySQL database:
To start use: sudo service mysqld restart
or to stop use: sudo service mysqld stop
Before you start Play:
Sometimes there might be a play server instance already running and this will cause problems, so before you start play do the following:
- Run the command,
ps auxwww | grep play
- Kill all play processes. To do this, run the following command for each play process,
kill -9 process_id
To start Play:
- Inside git repo,
cd server
- Now run the command
play run
- This will start running the server, and you should be good to go.
To send requests, use raw http POST, with content-type="application/json"
.