diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b5df3d9 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..0995162 --- /dev/null +++ b/README.md @@ -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 diff --git a/README.rdoc b/README.rdoc deleted file mode 100644 index 0e3c3b4..0000000 --- a/README.rdoc +++ /dev/null @@ -1,27 +0,0 @@ -== 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 - -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