Skip to content

Development a project clone spotify using Ruby on Rails and React - Semana Super Full Stack 7ª Edição

Notifications You must be signed in to change notification settings

tiagoleal/spotcode

Repository files navigation

be the hero

Current Version Ruby

Web(PWA)

Stack the Project

  • Ruby
  • Rails
  • ReactJS
  • Sqlite
  • PWA
  • Docker
  • NodeJs
  • Yarn

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You must have installed on your machine:

  • Node
  • NPM

Installing

First step is to install the node:

# Using Ubuntu
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs

# Using Debian, as root
# curl -sL https://deb.nodesource.com/setup_10.x | bash -
# apt-get install -y nodejs

For test if the service was installed with succeed, you can run the command for to check de version of Node:

$ node -v
# Must be have the node version: v10.14.0
$ npm -v
# Must be have the npm version: 6.14.4

First steps

Follow the instructions to have a project present and able to run it locally. After copying the repository to your machine, go to the project's root site and:

  1. Construct the container
$ docker-compose build
  1. Create of Database, migrations and seed
$ docker-compose run --rm app bundle exec rails db:create db:migrate db:seed
  1. Run the project
$ docker-compose up - d
  1. In the Other tab run de command
#Hot reload react
$ docker-compose exec app bin/webpack-dev-server

Authors


Tiago Leal

About

Development a project clone spotify using Ruby on Rails and React - Semana Super Full Stack 7ª Edição

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published