Comments (5)
To address the issue with the "Deploy on Railway" button deploying an outdated version of Langflow, ensure the main
branch of the https://github.com/langflow-ai/langflow
repository is updated with the new version. If you want Railway to automatically deploy new versions upon updates to the main
branch, set autoDeploy: true
in your configuration. Otherwise, you'll need to manually trigger a redeployment in Railway after updating the branch. This approach guarantees that the deployment button always initiates the deployment of the latest version.
Details
Sources
- render.yaml
- src/backend/langflow/version/version.py
- .github/workflows/pre-release-langflow.yml
- .github/workflows/pre-release-langflow.yml
- pyproject.toml
- src/frontend/package.json
- src/frontend/package.json
- docs/package.json
- docs/docs/migration/possible-installation-issues.mdx
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from langflow.
The version of Langflow deployed by the "Deploy on Railway" button depends on the latest version available in the Langflow GitHub repository at the time of deployment. The deployment process is designed to always use the latest version by checking the current project version against the last released version on PyPI during the pre-release workflow. This ensures that the "Deploy on Railway" button deploys the most recent version of Langflow.
To determine the specific version being deployed, you can inspect the pyproject.toml
file in the root of the Langflow project, where the current version of Langflow is specified under the [tool.poetry]
section. Additionally, the deployment process uses Docker images tagged with the current version, which is determined and built during the GitHub Actions workflow defined in .github/workflows/pre-release-langflow.yml
.
For the most accurate and up-to-date information on the deployed version, refer directly to the Langflow repository's pyproject.toml
file and the GitHub Actions workflow.
Details
Sources
- README.md
- .github/workflows/pre-release-langflow.yml
- src/backend/langflow/version/version.py
- pyproject.toml
- pyproject.toml
- src/frontend/package.json
- .github/workflows/pre-release-langflow.yml
- src/frontend/package.json
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from langflow.
To deploy the latest version of Langflow using the "Deploy on Railway" button, you'll need to ensure the button's URL in the README.md file points to a Railway template configured to install the latest version of Langflow. This might involve updating the Railway template to reference the latest version or configuring it to automatically use the latest release.
If you're managing the Langflow repository, you can update the README.md file with a new "Deploy on Railway" button URL that reflects the updated template. This change requires editing the README.md directly on GitHub or through a git client, then committing and pushing your changes.
For automating updates to the "Deploy on Railway" button with each new release, consider using GitHub Actions. This can be set up to trigger on new releases, automatically updating the README.md with the new deployment link and pushing the changes.
The versioning and deployment process is managed through the .github/workflows/pre-release-langflow.yml
file in the Langflow repository. This workflow includes steps to determine the current project version, compare it with the last released version on PyPI, and proceed with the release if the versions differ. The Docker image tagged with the release version is then used for deployment. To ensure the "Deploy on Railway" button always deploys the latest version, the Railway template and the GitHub Actions workflow should be configured to use the latest stable version tag, which is dynamically generated based on the project's version.
For detailed guidance on creating or updating Railway templates, refer to Railway's documentation or their support. This will help in setting up a template that always deploys the latest version of Langflow.
Details
Sources
- README.md
- src/backend/base/langflow/initial_setup/setup.py
- .github/workflows/pre-release-langflow.yml
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from langflow.
what verdion pf langflow is the deploy on railway button?
from langflow.
how can i deploy the latest version? because I can deploy only 0.6.18
from langflow.
Related Issues (20)
- Agent tools / function calling UX improvement HOT 1
- ModuleNotFoundError: No module named 'langchain_experimental.agents' HOT 1
- updating prompt template severs existing connections in flow HOT 1
- Astra Connector needs a truncate operation
- Astra UI component: Astra URL component is not validated on entry
- On a component box, it is not clear that the red "X" will re-run the component unless you hover over or click HOT 1
- ERR by redis : RedisCache.upsert() got an unexpected keyword argument 'lock' HOT 1
- version HOT 3
- Delete Edge Not Working HOT 5
- Cannot Enter Store API Key on Self-Hosted LangFlow Instance HOT 1
- Get Openai model list from api HOT 2
- OpenAI chat with no max new tokens
- I can't connect the new api on the langflow pre release HOT 5
- I can't connect api to the new langflow pre release this is the body HOT 3
- Error in API cURL option, JSON malformed and missing closing } on tweaks object HOT 2
- Lock type inconsistency between set_cache and upsert methods HOT 3
- flow disappears from hugging face HOT 6
- poetry going in an infinite loop in installing spacy HOT 2
- pre-release version Installation with pip failed and spacy install loop HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langflow.