razvanilin / encircledme

An interactive web app that allows users to create their own contact page with links to social media or other websites
Other
0 stars 0 forks source link

Encircled Me

A web app that allows users to create their own contact page with links to social media or other websites.

The app is now live here: encircledme.razvanilin.com

Dev Environment Set-Up

Dependencies

On Windows and OSX: https://nodejs.org/

sudo apt-get install nodejs
sudo apt-get install npm

or

sudo yum install nodejs
sudo yum install npm
sudo apt-get install mongodb-org
or
sudo yum install mongodb-org
sudo npm install -g grunt-cli
sudo npm install -g bower
sudo npm install -g yo

Getting and setting up the project

cd encircledMe/
cd server/
npm install

cd ../client/
npm install
bower install
module.exports = {
    dbhost: 'mongodb://your-ip/db-name',
    port: 3000,
    secret: 'place-your-key-here'
};
connect: {
      options: {
        port: your-port,
        // Change this to '0.0.0.0' to access the server from outside.
        hostname: 'your-ip-address',
        livereload: 35729
      },
.constant("CONFIG", {
        "API_HOST" : "your-api-host:port",
    })

Starting the project

mongod

mongo
use encircled
exit
cd server/
node index
cd client/
grunt serve