This is the system used by the NaSTA awards to allow affiliated stations to upload their entries.
- Meteor
- Node
- Node
- Mongodb
- An email account that can send mail (see The Meteor Docs)
- Dropbox account and API key (see The Dropbox Docs)
- Clone repo
- Run
meteor npm install
in cloned directory - Run
meteor
to start development server - Navigate to
http://127.0.0.1:3000
to view the running app
- Clone repo
- Run
meteor npm install
in cloned directory - Run
meteor build ./build
- Copy the contents of the tar file in the
build
directory to the prodcution server (e.g. to/home/nasta/osp
) - Inside
/home/nasta/osp/programs/server
runnpm install
- Inside
/home/nasta/osp
export the following environment variables:export MONGO_URL='mongodb://user:password@host:port/databasename'
export ROOT_URL='http://osp.nasta.tv'
export MAIL_URL='smtp://user:password@mailhost:port/'
export METEOR_SETTINGS='{ "dropbox": { "accessToken": "01234567890abcdefghijklmnopqrstuvwxyz" } }'
- Inside
/home/nasta/osp
runnode main.js
See Docs