Design and Development of a Provenance Capture Platform for Data Science
1 training intro
1. INSTALL A PHP/MYSQL BASED WEB-APPLICATION
Install a PHP/MySQL based web-application
2. BY THE WAY THIS IS
Sayed Ahmed
http://sayed.justetc.net
Software/Web/Mobile
Architect/Engineer/Developer
3. All of our services
http://www.sitestree.com/our-services/
Our training services
In English:
www.SaLearningSchool.com
English.SaLearningSchool.com,
www.SitesTree.com
In Bangla:
Bangla.SaLearningSchool.com
Blog.SaLearningSchool.com
Ask a question and get answers :
Ask.JustEtc.net
Offline IT Training (Occasional):
University.JustEtc.net
5. Will just install an application
Stage.visitorsshop.com code will be installed
to dev.visitorsshop.com
Stage.visitorsshop.com is a full page view ad
delivery system on your web-site...
There is a github project on that..
dev.visitorsshop.com is already there...
6. Will use filezilla to upload files...
You can download the code and upload..
I have the code already
Yes, that’s our code and application..
Will upload JS and Images laters
Large...
Just Uploading...
7. See if we can create the database...
Initially we can point to the db for
stage.visitorsshop.com
So in my case uploading should make it
work...
GEO is an open source module that helps to
deliver country specific traffic/visitors
Anyway, let’s create the database...
8. You will need delete permission as well...
However, in the code, you can assign that
permission to another user..
The site is working...
Using the existing Database as used by the
stage site...
We can use a different db...
9. We created the database
Now we can update code to update the
information
The code is not the best...ideally we could have
one central position to change this..
Now it is scattered
You could create a config file and place it there
You could even place the file not at your web
root but one stop back/up ..to keep the site
secure...
10. You can use an IDE such as Netbeans to
search and replace...
Better organize the code as I told before...
We just changed the name of the DB..user name
and password are the same ..so only changing
the DB name will work
Mysql_select_db
Remember Mysql_select_db will be deprecated
soon; you can rather want to change the code to
mysqli i.e mysqli_select_db
11. http://dev.visitorsshop.com/site_admin/ is
also basic..
You can create a user mgmt database and
authentication system
Now it’s used by a handful users so no great
user mgmt system is there...
Not much to show
You know how to search and replace the DB
name..
12. That’s all for now...
You can try the application to sale and deliver
traffic as well...
Any concerns
http://ask.justetc.net