Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bholmesdev/astro-on-rails
Ruby on Rails with Astro as the view layer
https://github.com/bholmesdev/astro-on-rails
astro ruby twitter
Last synced: about 2 months ago
JSON representation
Ruby on Rails with Astro as the view layer
- Host: GitHub
- URL: https://github.com/bholmesdev/astro-on-rails
- Owner: bholmesdev
- Created: 2024-06-03T12:38:41.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-06T23:16:09.000Z (7 months ago)
- Last Synced: 2024-10-30T03:53:44.289Z (about 2 months ago)
- Topics: astro, ruby, twitter
- Language: Ruby
- Homepage:
- Size: 178 KB
- Stars: 43
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
This creates a Ruby on Rails project using Astro for views.
## Installation
First, follow the [Rails installation guide](https://guides.rubyonrails.org/getting_started.html#creating-a-new-rails-project-installing-rails) to ensure you have compatible versions of Ruby and Rails installed.
Once Ruby is set up, install packages / gems:
```bash
bundle install
```Next, install JavaScript dependencies using the [pnpm](https://pnpm.io/installation) command:
```bash
pnpm install
```## Start the development server
Run `pnpm dev` in your terminal. This will start the Astro dev server at `http://localhost:4321`, and a Ruby on Rails server in the background. Be sure to open `http://localhost:4321` and _not_ the Rails server.