The following steps are meant for a bash-compatible console.
- Navigate to your
public_html
directory - Run
git clone <url>
where<url>
is the url of this GitHub project - Navigate to the cloned directory (by default it will be named
GettysburgHousingHub
) - Run
sh setup.sh
to have the directories permissions changed for browser usage
Use all commands while within this GitHub project's directory.
- To stage a file that you created or made changes to use
git add file_name
- To commit that file use
git commit -m "Message that describes changes that were made and/or files that were added"
- To push the committed files to the GitHub project use
git push
- To check if your version is up to date use
git fetch
- To update your local project with the current version use
git pull
- Note: It is generally good practice to fetch and then if necessary pull prior to pushing changes
Contains HTML and PHP for displaying the user interface and CSS for styling.
- components: Contains static html website components, style sheets, and scripts
- images: Contains all images that appear on the website
- info: Contains text files regarding front end implementation
Contains PHP and JavaScript for applications functionality.
- database: Contains SQL files to create and interact with the database
- sample_data: Contains SQL files to insert sample data