diff --git a/README.md b/README.md index 0e087a0..8114d85 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,19 @@ This is the MAGLab website source code and a work in progress. Also, the readme is a work in progress. +## Development Setup + +Prerequisites +* PHP + +```bash +cp home/protected/maglab/config/config.php.example home/protected/maglab/config/config.php +cd home/public +php -S localhost:8000 +``` + +Visit the home page at http://localhost:8000/MainApp.php + ## TODO * Write Deployment Instructions diff --git a/home/protected/maglab/app/main.php b/home/protected/maglab/app/main.php index 468f24a..eb5e897 100644 --- a/home/protected/maglab/app/main.php +++ b/home/protected/maglab/app/main.php @@ -1,5 +1,9 @@ >Are We Open? -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/edit.php b/home/protected/maglab/app/views/board/edit.php index 1f7b4e1..073ec8d 100644 --- a/home/protected/maglab/app/views/board/edit.php +++ b/home/protected/maglab/app/views/board/edit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/index.php b/home/protected/maglab/app/views/board/index.php index 403c595..5b581d1 100644 --- a/home/protected/maglab/app/views/board/index.php +++ b/home/protected/maglab/app/views/board/index.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/noEdit.php b/home/protected/maglab/app/views/board/noEdit.php index 90958b5..c7658b6 100644 --- a/home/protected/maglab/app/views/board/noEdit.php +++ b/home/protected/maglab/app/views/board/noEdit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/show.php b/home/protected/maglab/app/views/board/show.php index d0443ed..eb0051a 100644 --- a/home/protected/maglab/app/views/board/show.php +++ b/home/protected/maglab/app/views/board/show.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/main/class_deposit.php b/home/protected/maglab/app/views/main/class_deposit.php index 0a3a922..ffd0b5b 100644 --- a/home/protected/maglab/app/views/main/class_deposit.php +++ b/home/protected/maglab/app/views/main/class_deposit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/community.php b/home/protected/maglab/app/views/main/community.php index 33443b8..3ba1499 100644 --- a/home/protected/maglab/app/views/main/community.php +++ b/home/protected/maglab/app/views/main/community.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/donate.php b/home/protected/maglab/app/views/main/donate.php index bfec883..b719983 100644 --- a/home/protected/maglab/app/views/main/donate.php +++ b/home/protected/maglab/app/views/main/donate.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/homepage.php b/home/protected/maglab/app/views/main/homepage.php index 6a94b9b..ab9daf7 100644 --- a/home/protected/maglab/app/views/main/homepage.php +++ b/home/protected/maglab/app/views/main/homepage.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/membership.php b/home/protected/maglab/app/views/main/membership.php index 7b0f1e7..6bcf8f1 100644 --- a/home/protected/maglab/app/views/main/membership.php +++ b/home/protected/maglab/app/views/main/membership.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/pay4keyed.php b/home/protected/maglab/app/views/main/pay4keyed.php index a85fdec..90c903e 100644 --- a/home/protected/maglab/app/views/main/pay4keyed.php +++ b/home/protected/maglab/app/views/main/pay4keyed.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/src/views/board.layout.haml b/src/views/board.layout.haml index 959ffb7..37ecca7 100644 --- a/src/views/board.layout.haml +++ b/src/views/board.layout.haml @@ -80,24 +80,14 @@ %a(href='https://groups.google.com/forum/?fromgroups#!forum/maglaboratory') Forum/Google Group %li %a(href='/hal') Are We Open? - %li - %a(href='/members/procurement') Shopping List - %li - %a(href='/members') Members Dashboard .container %ul.social-icons %li - %a.sprite-mail(href='mailto:contact@maglaboratory.org' target='_blank') + %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') %li %a.sprite-facebook(href='https://www.facebook.com/MAGLaboratory' target='_blank') - %li - %a.sprite-twitter(href='https://www.twitter.com/MAGLaboratory' target='_blank') %li %a.sprite-instagram(href='https://www.instagram.com/MAGLaboratory/' target='_blank') - %li - %a.sprite-youtube(href='https://www.youtube.com/channel/UCxkmJiwGmDQnIvLe2gDKbpg' target='_blank') - %li - %a.sprite-yelp(href='https://www.yelp.com/biz/mag-lab-walnut' target='_blank') %li %a.sprite-github(href='https://github.com/MAGLaboratory' target='_blank') diff --git a/src/views/main.layout.haml b/src/views/main.layout.haml index d2a52a0..37ecca7 100644 --- a/src/views/main.layout.haml +++ b/src/views/main.layout.haml @@ -80,28 +80,16 @@ %a(href='https://groups.google.com/forum/?fromgroups#!forum/maglaboratory') Forum/Google Group %li %a(href='/hal') Are We Open? - %li - %a(href='/members/procurement') Shopping List - %li - %a(href='/members') Members Dashboard .container %ul.social-icons %li - %a.sprite-mail(href='mailto:contact@maglaboratory.org' target='_blank') + %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') %li %a.sprite-facebook(href='https://www.facebook.com/MAGLaboratory' target='_blank') - %li - %a.sprite-twitter(href='https://www.twitter.com/MAGLaboratory' target='_blank') %li %a.sprite-instagram(href='https://www.instagram.com/MAGLaboratory/' target='_blank') - %li - %a.sprite-youtube(href='https://www.youtube.com/channel/UCxkmJiwGmDQnIvLe2gDKbpg' target='_blank') - %li - %a.sprite-yelp(href='https://www.yelp.com/biz/mag-lab-walnut' target='_blank') %li %a.sprite-github(href='https://github.com/MAGLaboratory' target='_blank') - %li - %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') :yield_content