- NOTE: follow "Java Server" and "Firebase Server" instructions on same computer.
- NOTE: follow "Java Client" instructions on any computer (even same as server).
- NOTE: If running servers in Cybera RAC on a VM with private IP, clients must also be running on a Cybera VM.
- Make sure you have
java
andjavac
installed. git clone https://github.com/elvinlimpin/CPSC441BlackJack.git
cd CPSC441BlackJack/src/
javac */*.java
java server/Controller
- NOTE: you should see repeated error messages if firebase hasn't been served yet.
- Make sure you have
node/npm
installed. sudo npm install -g firebase-tools
git clone https://github.com/elvinlimpin/CPSC441BlackJackGUI.git
cd CPSC441BlackJackGUI/functions/
npm install && cd .. && npm install
- Either
firebase login
(auth from same host) orfirebase login --no-localhost
(auth from any host).- NOTE: must login with an admin-privilege google account (e.g. using our dummy account credentials).
firebase serve
- NOTE: In the future once everything is shut down, you should probably run
firebase logout
- NOTE: In the future once everything is shut down, you should probably run
- Anybody can open
https://cpsc441blackjack.web.app/
in a browser (Chrome preferred).
- Make sure you have
java
andjavac
installed. git clone https://github.com/elvinlimpin/CPSC441BlackJack.git
cd CPSC441BlackJack/src/
javac */*.java
java client/User <server IP>
- NOTE: if client is running on same computer as servers, then just use
java client/User localhost
- NOTE: if client is running on same computer as servers, then just use