Skip to content

natalieweesh/sushigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sushi Go

woohoo! visit https://sushi.nataliewee.com/ to play!

sushigif

the client/ directory is a git submodule located here: https://github.com/natalieweesh/sushigo-client

to run the client

from the client/ directory run npm start

it should open up localhost:3000 for you

to run the server

from the server/ directory run npm start

the server will run on localhost:5000

to run with the server locally

make sure in client/src/components/Game/Game.js you comment ouy line 32 and uncomment line 31 which sends ENDPOINT to localhost:5000

to deploy the frontend

make sure you changed the ENDPOINT in client/src/components/Game/Game.js back from localhost to the heroku url

first run npm run build

then copy the _redirects file and paste it into the build/ directory (this is needed for Netlify redirects)

then run netlify deploy and when it asks which folder say ./build

then run netlify deploy --prod also for the ./build folder

to deploy the backend

commit the code and run git push heroku master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published