Skip to content

UCSD-TIES/ckmpa

Repository files navigation

ckmpa

San Diego Coastkeeper MPA Datasheet web application developed with PHP + Laravel 4 framework.
###Using additional packages:

###Javascript dependencies:

###UI Frameworks:

###Mobile:

Setting Up the Environment

Assuming default installation paths. ###Windows

  1. Download and install XAMPP from http://www.apachefriends.org/en/xampp.html
  2. Inside C:/xampp/apache/conf, open httpd.conf and change
    • DocumentRoot "C:/xampp/htdocs" to DocumentRoot "C:/xampp/htdocs/ckmpa/public"
    • <Directory "C:/xampp/htdocs"> to <Directory "C:/xampp/htdocs/ckmpa/public">
  3. Inside C:/xampp/phpMyAdmin, open config.inc.php and change
    • $cfg['Servers'][$i]['auth_type'] = 'config'; to $cfg['Servers'][$i]['auth_type'] = 'cookie';
  4. After you are added as collaborator to UCSD-TIES on Github, from either the graphical Github interface or the command line:
  • git clone https://github.com/UCSD-TIES/ckmpa.git
    • If you are using git via command line, clone inside xampp/htdocs
    • If you are using graphical Github interface, clone it and make a symlink to the ckmpa folder inside xampp/htdocs from the commandline
      mklink /D ckmpa C:\Users\\(User)\Documents\GitHub\ckmpa
  1. Open XAMPP Control Panel and start both Apache and MySQL modules
  2. Click Admin for MySQL (or visit localhost/phpmyadmin) and login as username root with no password
  3. Under General Settings in the main page, change password to ck
  4. Click Databases on top and create a database named coastkeeper
  5. Click the coastkeeper database that you just created then click import on top
  6. Import ck.sql from inside ckmpa directory with default settings
  7. Login to the application by visiting localhost or localhost/admin on a browser with
  • username: ck
  • password: testing

###Mac

  1. Download and install XAMPP from http://www.apachefriends.org/en/xampp.html
  2. Inside /Applications/XAMPP/etc/conf, open httpd.conf and change
    • DocumentRoot "/Applications/XAMPP/htdocs" to DocumentRoot "/Applications/XAMPP/htdocs/ckmpa/public"
    • <Directory "/Applications/XAMPP/htdocs"> to <Directory "/Applications/XAMPP/htdocs/ckmpa/public">
  3. Inside /Applications/XAMPP/phpMyAdmin, open config.inc.php and change (may need sudo to edit)
    • $cfg['Servers'][$i]['auth_type'] = 'config'; to $cfg['Servers'][$i]['auth_type'] = 'cookie';
  4. After you are added as collaborator to UCSD-TIES on Github, from the command line in /Applications/XAMPP/htdocs:
    • git clone https://github.com/UCSD-TIES/ckmpa.git
    • sudo chown -R daemon:daemon ckmpa/app/storage
  5. Open XAMPP Control Panel and start both Apache and MySQL modules
  6. Visit localhost/phpmyadmin and login as username root with no password
  7. Under General Settings in the main page, change password to ck
  8. Click Databases on top and create a database named coastkeeper
  9. Click the coastkeeper database that you just created then click import on top
  10. Import ck.sql from inside ckmpa directory with default settings
  11. Restart Apache if it's already started in XAMPP Control Panel
  12. Login to the application by visiting localhost or localhost/admin on a browser with
  • username: ck
  • password: testing

About

San Diego Coastkeeper MPA Datasheet web application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published