-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ComfyWorkflows/react_web
Update web UI to use React instead of Next.js Former-commit-id: 27c5854
- Loading branch information
Showing
80 changed files
with
3,652 additions
and
3,871 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
web/node_modules | ||
venv | ||
server/venv | ||
server/models | ||
server/projects | ||
comfyui_launcher_models | ||
comfyui_launcher_projects |
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,2 @@ | ||
comfyui_launcher_models/ | ||
comfyui_launcher_projects/ |
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,11 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: build-web-ui | ||
name: Build Web UI | ||
entry: bash -c 'cd web && npm run build' | ||
language: system | ||
files: '^web/.*\.(js|jsx|ts|tsx|css|scss|sass|html|json)$' | ||
stages: [commit] | ||
pass_filenames: false | ||
verbose: true |
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,17 @@ | ||
FROM python:3-slim | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get install -y nodejs npm gcc g++ make | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY web /app/web | ||
RUN cd /app/web && npm install && npm run build | ||
|
||
COPY server /app/server | ||
|
||
WORKDIR /app/server | ||
|
||
CMD ["python", "server.py"] |
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,16 +1,25 @@ | ||
blinker==1.7.0 | ||
certifi==2024.2.2 | ||
cfgv==3.4.0 | ||
charset-normalizer==3.3.2 | ||
click==8.1.7 | ||
distlib==0.3.8 | ||
filelock==3.13.1 | ||
Flask==3.0.2 | ||
identify==2.5.35 | ||
idna==3.6 | ||
itsdangerous==2.1.2 | ||
Jinja2==3.1.3 | ||
MarkupSafe==2.1.5 | ||
nodeenv==1.8.0 | ||
packaging==23.2 | ||
platformdirs==4.2.0 | ||
pre-commit==3.6.2 | ||
psutil==5.9.8 | ||
PyYAML==6.0.1 | ||
requests==2.31.0 | ||
show-in-file-manager==1.1.4 | ||
tqdm==4.66.2 | ||
urllib3==2.2.0 | ||
virtualenv==20.25.1 | ||
Werkzeug==3.0.1 |
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,6 @@ | ||
*.pyc | ||
venv/ | ||
models/ | ||
projects/ | ||
default_custom_nodes/ | ||
test.py |
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,37 +1,24 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
.env | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
#dist | ||
#dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
Oops, something went wrong.