-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
assayire
committed
Mar 21, 2024
1 parent
18bbd17
commit 17861d5
Showing
7 changed files
with
125 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Frontend | ||
|
||
### Running | ||
|
||
To run the frontend you need to compile the code in sbt and then do some Javascript setup (which requires you have `npm` installed on your machine.) | ||
|
||
First, the Scala side of things. From within `sbt` run | ||
|
||
```scala | ||
frontend / fastOptJS | ||
``` | ||
|
||
Now the Javascript side. From a terminal, change into the `frontend` directory | ||
|
||
```sh | ||
cd frontend | ||
``` | ||
|
||
Install Javascript dependencies | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
Start the web server running the frontend | ||
|
||
```sh | ||
npm start | ||
``` | ||
|
||
Visit [localhost:1234](http://localhost:1234/) and you should see the frontend. | ||
|
||
|
||
### Developing | ||
|
||
Code is in `src/main/{css,html,scala}` | ||
|