Please read the documentation for details and setup for this project.
- Open a terminal and navigate to where you want to put this repository.
- Run
git clone https://github.com/Asej/TIp-0-Tongue
- This will put you on the master branch.
- Follow the Using Git Guide to learn about branching and pull requests so that you can make your first changes to this codebase.
-
Open a terminal window and navigate to the repository root.
-
Run these commands to start the Appengine Devserver.
cd server mvn appengine:devserver
-
Open a NEW terminal window and navigate to the repository root.
-
Run these commands to start the React client.
cd client npm install npm start
-
If a web page didn't open up, navigate to http://localhost:3000.
-
Any changes to javascript files under client/src will be hot reloaded. This means changing UI elements through javascript will automatically appear on your local web page.
-
Any changes to java files must be recompiled by maven. This means you must re-run
mvn appengine:devserver
from the server folder. You DO NOT need to rerun the client. -
Client and server can be run and stopped independently so you usually don't need to kill both processes during development. You will need 2 terminals open for typical development.
- Start the React client.
- Start the Appengine Devserver.
- Open http://localhost:3000.
- Make changes to javascript files (client work)
- Check http://localhost:3000 to see if changes worked.
- Commit and push changes that aren't broken.
- Make changes to java files (server work).
- Re-compile the server.
- Check http://localhost:3000 to see if the server changes worked.