https://github.com/tkosminov/rails-vue-ssr-example
SSR Vue app on RoR
https://github.com/tkosminov/rails-vue-ssr-example
rails server-side-rendering ssr-vue typescript vue
Last synced: about 2 months ago
JSON representation
SSR Vue app on RoR
- Host: GitHub
- URL: https://github.com/tkosminov/rails-vue-ssr-example
- Owner: tkosminov
- License: mit
- Created: 2020-05-23T12:57:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T19:06:13.000Z (over 2 years ago)
- Last Synced: 2025-01-24T12:14:12.380Z (3 months ago)
- Topics: rails, server-side-rendering, ssr-vue, typescript, vue
- Language: Ruby
- Homepage:
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# README
## Dependencies
* [Install Ruby 2.7.0 and Rails 6.0](https://gorails.com/setup/ubuntu/19.10)
* Install PostgreSQL 11.5
* Install Node.js 12.16.1 and Yarn## Gems
```bash
bundle install
```## Node packages
```bash
yarn install
```## Setup database
```bash
rake db:create
rake db:migrate
```## Run (development)
```bash
foreman start
```## Run (production)
```bash
RAILS_ENV=production bundle exec rails assets:precompile
NODE_ENV=production bundle exec rails webpacker:compileRAILS_ENV=production rails s
```