-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixes #161 * changelog * testing pypi workflow * syntax fix * changing npm to nodejs in conda build * updating contributing guide * some fixes * testing publish workflow * fixes * disabling pypi workflow on this branch * temporarily disabling conda workflow * temporarily disabling codeql * testing without node setup * fix gitignore and remove entire build dir contents * fix yarn install, update README * add yarn to github workflow, upgrade node to v16 * forgot to add uses:yarn to tests.yml * fix tests.yml webapp build, reverting pypi.yml * Removing branch name in publish workflow * Re-enabling codeql * Re-enabling conda workflow * Re-enabling image push to ECR * fixing conda * testing fix * testing npm and yarn within container * Removing npm and yarn test * Testing npm and yarn install * Replacing setup-node step with npm-yarn install * Fixed duplicate container names * Testing one container * Trying install within build webapp * Fixing syntax errors * Fixing syntax errors * Testing node install again * Removing sudo * Removing flag * Adding all container types * Adding all container types again * Adding python-38-centos7 * Syntax error fix * Syntax error fix * Separate step for centos * Retrying centos install * Fix syntax error * Fix syntax error * Fix syntax error * Checking permissions * Checking permissions * Removing duplicate conditions * Reverting steps * Fixes * Fixes * More fixes * More fixes * More fixes * Fixes * Fixes * Fixes * Fixes on centos * Fixes on centos * Fixes on centos * fixing tests * adding build validation to tests * testing a fix * testing a fix * testing a fix * testing mac * testing mac * testing mac * re-enabling all workflows Co-authored-by: Valentin Kostadinov <[email protected]> Co-authored-by: Okechukwu Ochia <[email protected]>
- Loading branch information
1 parent
8b273ab
commit bb365aa
Showing
35 changed files
with
17,367 additions
and
398 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,4 +42,3 @@ jobs: | |
conda create --name buildenv python=3.8 | ||
$CONDA/bin/activate buildenv | ||
conda build --override-channels . | ||
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
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 +1 @@ | ||
0.29.2 | ||
0.29.3 |
Empty file.
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,32 +1,51 @@ | ||
# Covalent UI | ||
|
||
## Running UI server | ||
## Setup | ||
|
||
- Start UI server | ||
- Activate conda environment and install required packages: | ||
|
||
```shell | ||
cd covalent_ui | ||
flask run --port 48008 | ||
conda activate <covalent-env> | ||
pip install -r requirement.txt | ||
``` | ||
|
||
- Open `http://localhost:48008` in your browser. | ||
- Dispatch workflows to explore them in the UI. | ||
- Install `node` (v16 or later) and `npm`: | ||
|
||
## Setup details | ||
```shell | ||
# Linux | ||
curl -sL https://deb.nodesource.com/setup_16.x | bash - | ||
apt-get install -y nodejs | ||
|
||
- Ensure python environment is properly set up with all required packages installed. | ||
# macOS | ||
brew install node | ||
``` | ||
|
||
- Install `yarn`: | ||
|
||
```shell | ||
conda activate <covalent-env> | ||
pip install -r requirement.txt | ||
npm install --global yarn | ||
``` | ||
|
||
- The UI server does not require the **Covalent Dispatcher** to be running but it receives execution updates from it. | ||
## Build web app | ||
|
||
- Results are currently persisted in the browser client's `localStorage`. | ||
``` | ||
cd covalent_ui/webapp | ||
yarn install | ||
yarn build | ||
``` | ||
|
||
## Run server | ||
|
||
```shell | ||
cd covalent_ui | ||
python app.py -p <port> | ||
``` | ||
|
||
- Open `http://0.0.0.0:<port>` in your browser. | ||
- Dispatch workflows to explore them in the UI. | ||
|
||
## Frontend development | ||
|
||
- The optimized production build of the UI web app lives under `covalent_ui/webapp/build`. It is statically served by the UI server by default. | ||
- The optimized production build of the UI web app lives under `covalent_ui/webapp/build`. It is statically served by the server by default. | ||
|
||
- See `covalent_ui/webapp/README.me` for details on how to build and run the development. | ||
- For the development version of the web app, see `covalent_ui/webapp/README.me` |
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 |
---|---|---|
|
@@ -11,8 +11,8 @@ | |
# testing | ||
/coverage | ||
|
||
# production | ||
!build | ||
# production build | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
covalent_ui/webapp/build/static/css/main.5658d761.chunk.css.map
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
105 changes: 0 additions & 105 deletions
105
covalent_ui/webapp/build/static/js/2.672a2ea9.chunk.js.LICENSE.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.