SLLA
A simple protest calendar for the Los Angeles area created in the LAMP stack. Visit the site here. Want to contribute? We have Trello! Ask for an invitation in the Hack For LA Slack channel.
Built With
- PHP
- jQuery
- Facebook Open Graph
Contributing
Check out our public Trello Board
Pick up tasks in the To Do
and let us know to update!
Setting Up For Local Development
-
Install PHP 5.6.31, Apache 2.4.26, and MySQL 5.0.85
- I recommend using XAMPP to manage your stack instead of installing these individually.
- You can install XAMPP 5.6.31 here
-
Navigate to the
htdocs
folder and clone the repocd path/to/htdocs
git clone https://github.com/seport/SLLA.git
- Make sure the files were saved in a folder called
SLLA
in thehtdocs
folder.
- Make sure the files were saved in a folder called
-
Run your server.
- If you've installed XAMPP you can do this from the XAMPP control panel.
-
Navigate to
localhost:<PORT>/SLLA
. You should see the homepage.
Set Up The Database
-
Navigate to localhost:/phpmyadmin
-
Click on Databases and create one called
SLLA
. -
Navigate to the SQL panel for your newly created database.
-
Run the scripts in the db folder against your database.
- You can do this simply by copy and pasting the code in the db script into the textbox on the page.
-
Verify that the host, username, password, and database in your dbconfig file match what's in your phpmyadmin panel, and make sure that the given user has read and write access to the database.
-
Navigate to
localhost:<PORT>/SLLA/admin
. You should now be able to log in asuser: guest
password: password