https://github.com/assertnotnull/remix-python
Call Python without APIs using Remix
https://github.com/assertnotnull/remix-python
Last synced: over 1 year ago
JSON representation
Call Python without APIs using Remix
- Host: GitHub
- URL: https://github.com/assertnotnull/remix-python
- Owner: assertnotnull
- Created: 2024-07-08T15:38:04.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T15:46:16.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T16:19:47.309Z (over 1 year ago)
- Language: TypeScript
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix + Python!
- 📖 [Remix docs](https://remix.run/docs)
## Installation
# Requirements
Install [PNPM](https://pnpm.io/) if not present
Install [Rye (for Python)](https://rye.astral.sh/) if not present
# Actual installation
Run `pnpm i` at the root and inside `scripts` folder `rye sync` that will create the `.venv` folder & install python deps
## Development
Run the dev server:
```shellscript
pnpm build
pnpm serve
```
## Deployment
First, build your app for production:
```sh
pnpm build
```
Then run the app in production mode:
```sh
pnpm start
```
Now you'll need to pick a host to deploy it to.
### DIY
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of `pnpm run build`
- `build/server`
- `build/client`
## Styling
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever css framework you prefer. See the [Vite docs on css](https://vitejs.dev/guide/features.html#css) for more information.