Configured local operation of Vectara Create-UI
Worked
Now I’m trying to deploy to https://railway.app/
Compiled successfully!
You can now view vectara-search-summary-ui in the browser.
Local: http://localhost:7553
On Your Network: http://172.17.0.57:7553
Note that the development build is not optimized.
To create a production build, use npm run build.
webpack compiled successfully
No issues found.
Compiling...
Compiled successfully!
webpack compiled successfully
The site at the specified addresses is not available. What am I doing wrong?
There is no block with information on how to deploy Vectara Create-UI
Nice. Glad the app is working.
I’m not an expert on Railway, but hope I can help anyways - can you please share the steps you used to deploy on Railway?
1 Like
-
Added the project to the repository on GitHub
-
Railway - New Project - Deploy from GitHub repo
-
Deploy success, but site don`t worked http://172.17.0.57:7553
npm WARN config production Use `--omit=dev` instead.
> vectara-search-summary-ui@1.0.0 start
> react-scripts start
(node:36) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:36) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.
babel-preset-react-app is part of the create-react-app project, which
is not maintianed anymore. It is thus unlikely that this bug will
ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
your devDependencies to work around this error. This will make this message
go away.
Compiled successfully!
You can now view vectara-search-summary-ui in the browser.
Local: http://localhost:7553
On Your Network: http://172.17.0.57:7553
Note that the development build is not optimized.
To create a production build, use npm run build.
webpack compiled successfully
No issues found.
Compiling...
Compiled successfully!
webpack compiled successfully
No issues found.
It would be great to create a template for quickly launching Vectara create ui
How to deal with this issue?
It remains to solve this problem. How to deploy Vectara create-ui to a server or better yet to Railway.
Two quick suggestions (again, not a railway expert):
- Seems like it’s using port 7553, and create-UI uses 4444 by default. Did you try to change the PORT on the railway side to 4444 (Public Networking | Railway Docs)
- Did you try another service like Vercel or Render? Maybe they would work better for hosting or not have the same issue?