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 installin cloned directory - Run
meteorto start development server - Navigate to
http://127.0.0.1:3000to view the running app
- Clone repo
- Run
meteor npm installin cloned directory - Run
meteor build ./build - Copy the contents of the tar file in the
builddirectory to the prodcution server (e.g. to/home/nasta/osp) - Inside
/home/nasta/osp/programs/serverrunnpm install - Inside
/home/nasta/ospexport 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/osprunnode main.js
See Docs