An open API service indexing awesome lists of open source software.

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

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:compile

RAILS_ENV=production rails s
```