Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Support #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ruby:2.2.1

WORKDIR /opt/Launchpad

COPY . .
RUN bundle install \
&& ruby bin/rake db:migrate RAILS_ENV=development

ENTRYPOINT ["ruby"]
CMD ["bin/rails", "server", "-b", "0.0.0.0"]
EXPOSE 3000/tcp
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# README

This website is an attempt to recreate a MIDI controller using the keyboard. Basically, an online launchpad, similar in function to that of Novation's Launchpad.

## Features:

- Uses Howler JS audio library for quick and easy audio playing across multiple browsers: http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library

- Uses the Zip.js library to parse .zip files: https://gildas-lormeau.github.io/zip.js/

- First of the Year Eqninox by Skrillex sounds, obtained from Nev's project file: https://www.youtube.com/watch?v=SAXpBgkXt60

- Editor Capable of recording and playing back keyboard inputs at varying playback speeds

- Able to load and save songs to a database, only available to those who have registered an account which can only be done from the console

- mySql test database and Postgres production database

- Hosted on Heroku with free hobby plan

- Front-end written in complete JS with Ruby on Rails for the back-end, a few ajax requests to backend for information

## Installation

The easiest way to install the Launchpad on your won server is by using docker.

```bash
# First, clone the repository
git pull https://github.com/mazowo/Launchpad.git
cd Launchpad

# Next, prepare and build the Image
docker build -t launchpad:master

# Now you can run your image like any other and enjoy the launchpad!
docker run \
--name launchpad \
--detach \
-p 3000:3000 \
launchpad:master
```

## TODO:

- Downloadable offline version, probably zipped JS, CSS, HTML, and audio files, will have to get rid of server calls

- Finish editor tools and put recorded parts of songs on main page
27 changes: 0 additions & 27 deletions README.rdoc

This file was deleted.