AnswerDotAI / AnswerDotAI/fasthtml

[BUG] Railway App not working

Open
#780 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
7k
Forks
319
Avg merge
28m
Merged PRs (30d)
3

Description

**Important Notice**
We do not provide support through GitHub issues. For community-based help, please use either:
- GitHub Discussions tab
- Our [Discord channel](https://discord.gg/qcXvcxMhdP)

If you're reporting a bug, please continue with this template.

**Describe the bug**
running
```fh_railway_deploy MY_APP_NAME``` as described in the documentation fails with an assertion error
```assert nm=='railwayapp', f'Unexpected railway version string: {nm}'```

**Minimal Reproducible Example**
follow the instructions at https://fastht.ml/docs/tutorials/by_example.html#railway to setup railway
run fh_railway_deploy MY_APP_NAME
you will get the error.

This is caused because running railway --version
returns railway 4.8.0
which is not the expected result of "railwayapp"

```python
No python code is necessary
```

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment Information**
Please provide the following version information:
fastcore==1.7.28
fastlite==0.1.1
python-fasthtml==0.12.0

**Confirmation**
Please confirm the following:
- [X ] I have read the FAQ (https://docs.fastht.ml/explains/faq.html)
- [X ] I have provided a minimal reproducible example
- [ X] I have included the versions of fastlite, fastcore, and fasthtml
- [ X] I understand that this is a volunteer open source project with no commercial support.

**Additional context**
I will submit a PR, I just wanted to get the issue created first.

**Screenshots**
If applicable, add screenshots to help explain your problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.