This repository contains the ProfHacks website to be used for registration and other information to be updated on profhacks.com.
- Install Git Bash
- Download or clone the git repository in Git Bash (
git clone https://www.github.com/johnsbuck/profhacks2017
) - Install Node.js LTS
- Install PostgreSQL
- run
npm install --local
in the Git repository.
- Install Git using apt-get (Linux), or XCode (MacOS)
- Download or clone the git repository in Git Bash (
git clone https://www.github.com/johnsbuck/profhacks2017
) - Install Node.js
- Install PostgreSQL (MacOS or
sudo apt-get install postgresql postgresql-contrib
for Linux) - run
npm install --local
in the Git repository.
Setup PostreSQL according to your OS, and make sure the postgres service is running. See OS specific instructions. For Debian based linux distros, you can start postgreSQL by running
$ /etc/init.d/postgres start
Access PostgreSQL script and type in the following script:
$ sudo -i
root# psql
CREATE DATABASE "prof";
\connect prof;
CREATE ROLE "hoot" WITH LOGIN SUPERUSER;
\password hoot;
Set the password to "hoot".
- Go to the ProfHacks repository folder.
npm test
- Go to localhost:3000 on your browser.
- You should see no errors appear from the page or your terminal.