A website where users learn to code while competing against each other
- install node.js http://nodejs.org/download/
- install mongoDB http://www.mongodb.org/downloads
- download git repo https://github.com/silps/codesnail/archive/master.zip
- run cmd or terminal and go to the project directory
- run npm install
- create a directory for mongoDB
- run mongodb and node app
- open http://127.0.0.1:3000
sudo apt-get install nodejs npm mongodb
git clone https://github.com/silps/codesnail.git
cd codesnail
npm install
sudo mkdir -p /data/db && sudo chmod 777 /data/db
mongod & node app
firefox 127.0.0.1:3000# APP CONF #
export APP_NAME="CodeSnail"
export ADMIN_NAME="John Schmidt"
export HOSTNAME="http://localhost:3000"
export ADMIN_EMAIL="john.schmidt@mail.com"
export SESSION_SECRET="mega-awesome-secret-yay"
# SMTP CONF #
export SMTP_HOST="<smtp-host>"
export SMTP_USERNAME="<smtp-username>"
export SMTP_PASSWORD="<smtp-password>"
# OAUTH CONF #
export GOOGLE_KEY="<google-key>"
export GOOGLE_SECRET="<google-secret>"
export GITHUB_KEY="<github-key>"
export GITHUB_SECRET="<github-secret>"
export TWITTER_KEY="<twitter-key>"
export TWITTER_SECRET="<twitter-secret>"
export FACEBOOK_KEY="<facebook-key>"
export FACEBOOK_SECRET="<facebook-secret>"
export LINKEDIN_KEY="<linkedin-key>"
export LINKEDIN_SECRET="<linkedin-secret>"
# DATABASE
export MONGOLAB_URI="mongodb://dbuser:dbpass@host:port/dbname"- report about codesnail on sharelatex https://www.sharelatex.com/project/52e8420b7487ca4941000b9f
