Getting Started (Fedora 23)
Total Page:16
File Type:pdf, Size:1020Kb
Getting Started (Fedora 23) My results from doing a recent install of the Avalon development environment on a Fedora 23 VirtualBox VM. I've tested it twice. -Leah (1/28/2016) Make the Image Create an account on github and set up SSH keys. For more help see the detailed instructions Install Ruby (this automatically installs many of the development tools you'll need like openssl and gcc curl -L https://get.rvm.io | bash -s stable --ruby For this run, it installed ruby v.2.2.1 p85 Reload shell environment using the instructions given in rvm's installation output. Make sure ruby installed correctly rvm list Update rubygem gem update --system and install bundler to manage gem dependencies gem install bundler Install FFMPEG Installed faac and then faac-devel from fedora 22 - don't know why it wasn't showing up in the fedora 23 package manager ftp://fr2.rpmfind.net/linux/rpmfusion/nonfree/fedora/releases/22/Everything/x86_64/os/ #dependencies for ffmpeg and the rest of the install sudo dnf install mediainfo cmake yasm lame-devel opencore-amr-devel \ librtmp-devel libtheora-devel libvorbis-devel libvpx-devel x264-devel libfaac-devel git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \ --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 make #This is going to take a while #did it build successfully? ./ffmpeg -version #Copy the compiled ffmpeg to where matterhorn expects it cp ffmpeg /usr/local/bin/ Clone avalon (I threw it in my home directory) and switch to develop git clone [email protected]:avalonmediasystem/avalon.git cd avalon git checkout develop Install Ruby Gems bundle install #might not have to..but...gem install rugged -v '0.23.2' Create secrets file (from manual instructions) Copy example configs cd config cp avalon.yml.example avalon.yml cp authentication.yml.example authentication.yml cp controlled_vocabulary.yml.example controlled_vocabulary.yml Update submodules (Felix --where matterhorn lives, jetty, and red5) git submodule init git submodule update Install Mediainfo cli rpm for Fedora x86_64 rake jetty:config rake felix:config rake avalon:services:start rake db:migrate rake db:test:prepare #make sure specs pass or there might be more config needed rake spec #start the rails server then go to localhost:3000 to check out the results! rails s.