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 :)
- Install Meteor (http://docs.meteor.com/#quickstart)
- Clone this Repository ('git clone https://github.com/SaymV/booktrades')
- Run the command 'cd booktrades' (without quotation marks)
- Run the command 'meteor'
This installation instruction assumes a vanilla ubuntu server instance.
- 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
- Install Meteor
curl https://install.meteor.com | /bin/sh
- Install MongoDB:
sudo apt-get install mongodb
- Install git and checkout this repo
sudo apt-get install git
git clone http://github.com/SaymV/booktrades.git
- Bundle and unpack the standalone application
cd booktrades
meteor bundle bundle.tgz
tar -zxvf bundle.tgz
- 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 protected]:587'