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!
Needs meteor installed.
./create_config
meteor
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.
meteor
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:
meteor build ../mentors_out/
cd ../mentors_out/
scp mentors.tar.gz user@hackupc.com:mentors/
- SSH into server as user and execute:
mentors/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