Royaltyreminder

  • (♥) I love Ethan so I will add received royalties to RoyaltyReminder

  • (♥) I love Ethan so I will setup the Linode server

  • (♥) I love Ethan so I will add PDF uploads.

  • (♥) I love Ethan so I will fix the fields and display of the contracts model.

  • (♥) Persist uploads across validation errors

  • () Some sort of author profile / settings page needed.

  • () Some sort of billing page needed.

  • () Authors need to signup for the first tier plan immediately when they signup. Make Stripe part of signup flow.

  • () Remove royalty next date from data entry

    • () change period to seconds integer instead of string
    • () change period form to two drop downs to get frequency
  • () Autocomplete for tag-like fields need to work

  • () Display link to show PDF if one exists.

  • () Use FOG to put uploads on S3.

Password on Linode server:

M1ndfullove

Server access:

ssh admin@96.126.122.30 mindfullove

As root:

useradd -m -G wheel -s /bin/bash admin pacman -S sudo visudo pacman -S openssh vim /etc/ssh/sshdconfig systemctl start sshd.service systemctl daemon-reload systemctl start sshd.service systemctl enable sshd.service passwd admin sudo pacman -S git ssh-keygen -t rsa -C “mkbunday@gmail.com” hostnamectl set-hostname royaltyreminder vim /etc/hosts hostnamectl set-hostname woolf timedatectl list-timezones timedatectl set-timezone America/NewYork date haveged -w 1024 pacman-key —init pkill haveged pacman-key —populate archlinux pacman -Syu

As admin:

sudo pacman -S nginx ssh-keygen -t rsa -C “mkbunday@gmail.com” cat .ssh/idrsa.pub ls git clone git@github.com:zencephalon/RoyaltyReminder.git ls cd RoyaltyReminder/ sudo pacman -S ruby ruby -v ls bundle gem install bundle bundle sudo vim ~/.bashprofile source ~/.bashpr source ~/.bashprofile bundle vim Gemfile bundle sudo pacman -S gcc bundle bundle install —without development gem install bcrypt -v ‘3.1.9’ sudo pacman -S make bundle install —without development cat Gemfile bundle install —without=development bundle install —without=development test sudo pacman -S nodejs ls sudo vim /etc/nginx/nginx.conf sudo pacman -S postgresql sudo pacman -S redis [admin@woolf ~]$ sudo -i -u postgres [postgres@woolf ~]$ initdb —locale en_US.UTF-8 -E UTF8 -D ‘/var/lib/postgres/data’ [admin@woolf ~]$ sudo systemctl start postgresql [admin@woolf ~]$ sudo -i -u postgres [postgres@woolf ~]$ createuser —interactive Enter name of role to add: admin Shall the new role be a superuser? (y/n) y [admin@woolf RoyaltyReminder]$ rake db:create [admin@woolf RoyaltyReminder]$ rake db:migrate