ensure that there is enough room in /boot by deleting old operating systems (can view memory breakdown, current running OS)
sudo apt-get update sudo apt-get install git
create an ssh key pair and add the public one to git
clone with ssh
(stack overflow)
(stack overflow)
chown -R www-data:www-data /var/www/html/php-tutors
sudo su - postgres
dropdb tutors; createdb tutors; psql tutors -af milestone1.sql;
psql tutors
create user vagrant;
alter user vagrant password “dbpasswd”;
- grant all privileges on site to vagrant;
- grant all privileges on teacher to vagrant;
- grant all privileges on tutorinfo to vagrant;
- grant all privileges on tutoravailable to vagrant;
- grant all privileges on request to vagrant;
- grant all privileges on admininfo to vagrant;
- grant all privileges on bookings to vagrant;
grant usage, select on sequence request_request_id_seq to vagrant;
Name, Email, School, Grade Level, requestBefore, requestSemester, Monday Block 1, Monday Block 2, Monday Block 3, Monday Block 4, Monday Block 5 (for each of the days), Max Tutors Per Slot, Total Tutors, needLanguage, Language, Description
Change the owner of php-tutors to www-data