Skip to content

Files

Latest commit

d39672a · Jan 12, 2021

History

History
22 lines (19 loc) · 1.27 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.27 KB

WebStore

About

A simple CRUD Application which manages products, their reviews and images. Built in scala using the Play framework along with front-end integration with twirl templating engine.

How to Run

  • The app requires sbt (for experienced users) or activator (for beginners) to be preinstalled before running. (Relevant links for installation: activator and sbt)

  • Running Using Activator:

    • Navigate to the project directory.
    • $ activator compile
    • If required, you can run the included tests (or write custom ones) using $ activator test
    • $ activator run
  • Running using sbt:

    • Navigate to the project directory.
    • Run the sbt shell by typing $ sbt.
    • Inside the shell:
      • $ compile
      • If required, you can run the included tests (or write custom ones) using $ test
      • $ run
  • You can now access the application at: localhost:9000

    Note: The only difference between activator and sbt is that activator gives more enhanced error messages as compared to sbt. However, the debugging granularity is better when using sbt.