Skip to content

App Sound Cloud - Simple Clone Play Music With Ruby on Rails and Stimulus.js

Notifications You must be signed in to change notification settings

gilcierweb/app-soundcloud

Repository files navigation

App Sound Cloud

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

Homepage: alt text


Detail play sound page: alt text


Skills

Install Ruby and Ruby on Rails

https://gorails.com/setup/ubuntu/22.04

Run app

cd app-soundcloud

./bin/dev
#Run in http://localhost:3000 

Test for checks Ruby on Rails applications for security vulnerabilities with brakeman gem

brakeman
brakeman --help
brakeman -o tmp/output_analysis.html
open tmp/output_analysis.html # open browser

Run all specs in spec directory (excluding plugin specs). Run tests with rspec

rake spec # or
rails spec

Code Coverage With SimpleCov Gem

In a Debian/Ubuntu Terminal you can use this command:

open coverage/index.html

In a Mac terminal, you can use this command:

xdg-open coverage/index.html

Report code statistics (KLOCs, etc) from the application or engine

rake stats # or
rails stats

rake routes # or
rails routes

https://gilcierweb.com.br