HackCU / mentors

πŸ™Œ HackCU mentor queue system

Home Page:https://mentors.hackcu.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


HackCU IV


HackCU mentor website. Ticketing system to help hackers find available mentors.

Forked from HELPq. Read the original README here. HELPq is an extensible, customizable real-time queue system, built with Meteor!

Setup

Needs meteor installed.

Mac OS X, Linux

  ./create_config
  meteor

Windows:

Copy the private/config.json.template into private/config.json

  meteor

Once done, add GitHub credentials for the HackCU Mentors app. It is owned by HackCU Github Organization.

Run Server

Local environment

meteor

Deploy

To deploy we use ulexus/meteor docker image. You will need to have access to the server. To deploy a new version follow the instructions below:

  1. meteor build ../mentors_out/
  2. cd ../mentors_out/
  3. scp mentors.tar.gz user@hackupc.com:mentors/
  4. SSH into server as user and execute: mentors/start_docker.sh

start_docker.sh

#!/bin/sh
echo "Killing previous container..."
docker kill $(docker ps -a | grep "ulexus/meteor" | cut -f1 -d" ")
echo "Removing exited containers..."
docker rm -v $(docker ps -a -q -f status=exited)
echo "Starting server..."
docker run -d -p 8007:8007 -e PORT="8007" -e ROOT_URL=https://mentors.hackupc.com   -e BUNDLE_FILE=/home/meteor/build.tar.gz   -v /home/user/mentors/mentors.tar.gz:/home/meteor/build.tar.gz   -e MONGO_URL=mongodb://your_mongo_url/mentors-hackupc  ulexus/meteor

Made with ❀️ at HackCU

About

πŸ™Œ HackCU mentor queue system

https://mentors.hackcu.org/

License:MIT License


Languages

Language:JavaScript 94.4%Language:HTML 4.0%Language:CSS 1.5%Language:Shell 0.0%