Mouris1 / SpotterProps

0 stars 0 forks source link

Spotter - RealEstate as Main and DB Design #1

Closed Mouris1 closed 6 years ago

Mouris1 commented 6 years ago
  1. Set Real Estate as the main page;
  2. Update icon;
  3. Database design based on current json format;
  4. Basic api to provide properties information 4.1. list 4.2. details
DerekJi2 commented 6 years ago

Virtual Host Configuration

  1. xampp\apache\conf\extra\httpd-vhosts.conf Add the following lines NameVirtualHost <VirtualHost *> DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs" ServerName localhost <\/VirtualHost> <VirtualHost \> ServerName www.myspotter.com ServerAlias myspotter.com DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs/spotter" <\/VirtualHost> image

  2. xampp\apache\conf\extra\httpd-ssl.conf <VirtualHost _default_:443> DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs/spotter" ServerName www.myspotter.com:443 ServerAlias myspotter.com:443
    SSLEngine on SSLCertificateFile "conf/ssl.crt/server.crt" SSLCertificateKeyFile "conf/ssl.key/server.key" <\/VirtualHost>

image

  1. C:\Windows\System32\drivers\etc\hosts Add one more line at the bottom 127.0.0.1 www.myspotter.com
Mouris1 commented 6 years ago

I did that what next

Mouris1 commented 6 years ago

do i have to change I:/Dropbox/Dropbox/xampp/htdocs/spotter to the location on my computer

DerekJi2 commented 6 years ago

Basic Installations

  1. Copy frontend/spotter into xampp/htdocs;
  2. Update spotter/application/config/database.php, to keep them consistent with your own environment image
  3. Create Database Execute the SQL (frontend\spotter\system\database\DB_SpotterProp.sql) to initialise the database

Demo

demo19

DerekJi2 commented 6 years ago

Answers

  1. Yes, you have to update the directory like ' I:/Dropbox/Dropbox/xampp/htdocs/spotter' to your own location;
  2. Before running the SQL, the database has to be created manually. If another database name is used instead of 'spotterprop', the conf/database.php should be changed accordingly.
  3. It's not finished until now.
  4. Still lots of things to do. What I'm going to do next includes:
    • Implement real webapi for properties, galleries, etc. (currently only basic apis for types/specifications/features);
    • Mocking data in database;
    • Implement all the functions in current UI. -- Dinamically load property types; -- Implement all search criteria; -- Combine all search functions
    • Fix some known bugs
DerekJi2 commented 6 years ago

If there's anything wrong, just send me a screen shot so that I'm able to know what happened

Today I had a sick leave, so the progress is faster. Tomorrow it will not move as fast as today. :)

Mouris1 commented 6 years ago

ok not a problem thanks

DerekJi2 commented 6 years ago

Database Updated

  1. Drop Database SpotterProp
  2. Create Database SpotterProp
  3. Execute the SQL below DB_SpotterProp.zip
Mouris1 commented 6 years ago

i can't access the myspotter.com 123

DerekJi2 commented 6 years ago

Have you checked hosts file? C:\Windows\System32\drivers\etc