Skip to content

sofyasher/ships

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ships

Running

For running the app locally do the following steps:

  1. Make sure, you have installed Node JS + npm and Yarn first.
  2. In the project directory run yarn to install dependencies.
  3. In the project directory run yarn start.
  4. Open http://localhost:3000/ in your browser.

Deployment

  1. Make sure, you have installed Node JS + npm and Yarn first.
  2. In the project directory run yarn to install dependencies.
  3. In the project directory run yarn build.
  4. Copy the content of <root>/build folder and upload it to your hosting. You will probably need to copy the <root>/.htaccess configuration to your hosting for correct routing too.

Testing

  1. In the project directory run yarn test.
  2. To see the generated code coverage report, go to the folder <root>/coverage/lcov-report and open index.html in your browser

You can try the app on https://ships.sherstneva.cz.