Skip to content

joeyfigaro/tangocloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TangoCloud

Table of Contents

This is a music streaming platform for tango.

Release

CD CD CI

Description

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Clone the repo with this link. https://github.com/jmarsh24/tangocloud.git

Built With

Repository

Make sure the nerdgeschoss development is running correctly (https://github.com/nerdgeschoss/development-environment) and follow the usual setup steps outlined there. This will create a docker server to run the postgres database.

Then install dependencies and prepare the database with:

Make sure you have ruby version 3.2.2 up and running on your local dev environment.

In order to get the project up and running you can use bin/setup. This will create a database and install any missing packages. (This has been written for mac OS, so it may not install some dependencies...)

To start the server you can run bin/dev. This will start the worker and web processes. The server api server will be available at localhost:3000

If you need to add any secrets to the repository you can request the RAILS_MASTER_KEY from the project administrator. Once you have this key all the environment variables can be viewed/edited by running

bin/rails credentials:edit

Asset Management

This project uses Vite to manage assets. This gives us the capability to have live reload in the project.

Development

For debugger this project uses the debug gem. A breakpoint can be added in the ruby code with binding.irb or by using the alias debugger.

For future development, please consult the nerdgeschoss NUTS handbook for current developer guidelines.

Testing

This project using rspec for testing. You can run the test suite using bin/guard

Before running tests, bin/rails assets:precompile should be run, otherwise the javascript and css will not be compiled.

Be default the system tests run without a head. If you would like to enable headful browsing in system tests for debugging you can change HEADLESS=true in the .env file.

Linting

This project uses linting provided by rubocop with customization added by shimmer.

It also uses Shopify LSP to improve the editor experience.

In order to run ruby linting across the code you can run bin/rubocop -A which will try to auto correct any mistakes.

About

This is tango music streaming platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.3%
  • TypeScript 32.5%
  • Go 2.6%
  • NSIS 2.2%
  • Slim 2.0%
  • SCSS 1.7%
  • Other 3.7%