-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding information about building and running the project into readme…
…n and contributing files. (#4)
- Loading branch information
Showing
2 changed files
with
76 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -1,3 +1,49 @@ | ||
# FLorist | ||
|
||
TODO | ||
A platform to launch federated learning (FL) training jobs. | ||
|
||
## Setting up | ||
|
||
### Install dependencies | ||
|
||
To install the project dependencies, first you need to create a virtual environment. | ||
The easiest way is by using the [virtualenv](https://pypi.org/project/virtualenv/) package: | ||
|
||
```shell | ||
virtualenv venv | ||
source venv/bin/activate | ||
``` | ||
|
||
We use [Poetry](https://python-poetry.org/) to manage back-end dependencies: | ||
|
||
```shell | ||
pip install --upgrade pip poetry | ||
poetry install | ||
``` | ||
|
||
We use [Yarn](https://yarnpkg.com/) to manage front-end dependencies. Install it on MacOS | ||
using [Homebrew](https://brew.sh/): | ||
|
||
```shell | ||
brew install yarn | ||
``` | ||
|
||
Then install the project dependencies: | ||
```shell | ||
yarn | ||
``` | ||
|
||
### Running the server | ||
|
||
Use Yarn to run both the back-end and front-end on server mode: | ||
|
||
```shell | ||
yarn dev | ||
``` | ||
|
||
The front-end will be available at `http://localhost:3000`. If you want to access | ||
back-end APIs individually, they will be available at `https://localhost:8000`. | ||
|
||
### Running the client | ||
|
||
Coming up. |