Skip to content

Real-time textbook exchange site

Notifications You must be signed in to change notification settings

SaymV/booktrades

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookTrades is a real-time textbook exchange site.

Note: BookTrades is beta software. Most of it should work but it's still a little unpolished and you'll probably find some bugs. Use at your own risk :)

Dev Installation

Production Installation

This installation instruction assumes a vanilla ubuntu server instance.

  1. Install Node and npm:
sudo apt-get install python-software-properties 
sudo add-apt-repository ppa:chris-lea/node.js 
sudo apt-get update 
sudo apt-get install nodejs npm
  1. Install Meteor
curl https://install.meteor.com | /bin/sh
  1. Install MongoDB:
sudo apt-get install mongodb
  1. Install git and checkout this repo
sudo apt-get install git
git clone http://github.com/SaymV/booktrades.git
  1. Bundle and unpack the standalone application
cd booktrades
meteor bundle bundle.tgz 
tar -zxvf bundle.tgz 
  1. Run the app

For this step, there are some environment variables that must be set. Because the app must be launched as root to use port 80, the environment variables must be added as root. Yes, this information is tailored to my Amazon AWS account, and yes, it should remain private.

export MONGO_URL='mongodb://localhost:27017/booktrades'
export ROOT_URL='$IP_ADDRESS'
export MAIL_URL='smtp://KEY:EMAIL_ID@email-smtp.us-east-1.amazonaws.com:587'

About

Real-time textbook exchange site

Previously: http://booktrad.es

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published