- put the
ecobin
folder invar/www/html/
(for linux) orC:\wamp\www\
orC:\xampp\htdocs\
(for Windows) - change the username(phpmyadmin) and password(1235) in
connection.php
with your credentials - create a database named
ecobin
and import theecobin.sql
file
you are all set to go!!
Note: sensor_data.php
is being used for receiving remote data
user name: [email protected]
password: 1235
0. Pull from remote: git pull
1. Check status: git status
2. Add all unstaged Files: git add .
or 2. Add specific unstaged Files: git add sensor_data.php
3. Commit the Staged files (a message is mandatory) : git commit "your message here (e.g. sensor_data script added)"
4. Push the Staged Files (this will ask for authentication): git push
0. Create a remote, empty repository on Github: Login into github, Create an empty repo and copy the url (clone/download)
1. Initialize the local repo: Goto your project directory and type git init
2. Connect to remote: git remote add origin https://github.com/shubhajitml/ecobin.git
3. Push your branch to Github: git push origin master