Skip to content

Eclisse-Music-Institute/musical-eureka

Repository files navigation

README

Prerequisite

Developed & Tested on Fedora 32 & Fedora 33.

sudo dnf install https://download.postgresql.org/pub/repos/yum/reporpms/F-32-x86_64/pgdg-fedora-repo-latest.noarch.rpm
sudo dnf install postgresql12-server postgresql12
sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
sudo systemctl enable --now postgresql-12
sudo firewall-cmd --add-service=postgresql --permanent
sudo su - postgres
createuser -d -s YOUR_ACCOUNT_USERNAME
exit
echo 'export PATH="/usr/pgsql-12/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Optional

Run curl https://cli-assets.heroku.com/install.sh | sh to install Heroku CLI.

Setup Database & yarn

rake db:create
rake db:migrate
yarn
yarn upgrade
yarn add bootstrap jquery popper.js
rails generate simple_form:install --bootstrap

And run webpack-dev-server to test Yarn compilation (hit CTRL-C to stop the server)