- For each new feature a new dedicated branch must be created.
EXAMPLE:
feature-auth
for everything that reconnects to
the authentication part of the project
-
If the feature is complete and tested it is possible to merge it with the main branch.
-
It is also suggested to create sub-features in order to make the git flow more modular.
EXAMPLE:
feature-auth
could be divided infeature-auth-login
andfeature-auth-signup
.
- To run the whole project you must download and setup xampp, then you'll
have to locate your project folder inside xampp's
htdocs
folder.
NOTE: remember to locate there not just the project folder, but the git project too.
- Run xampp on your device:
./xampp start
.
NOTE: it might require root permissions, in that case write your device's root user credentials.
- Open firefox, since we don't use a js framework that manages cross-browser compatibility it is better to stick to the same browser, and go to url:
localhost
NOTE: from there it is possible to manage and see the website.
Useful xampp urls:localhost/phpmyadmin
,localhost/phpinfo
,localhost/<project-folder-name>
-
In case you haven't created and populated the db just go to
localhost/phpmyadmin
:- paste
db_create.sql
into the SQL query editor; - then proceed in the same manner for
db_populate.sql
.
- paste
-
When you've finished power off xampp with the command:
./xampp stop
.
NOTE: it might require root permissions, just like at the start.
A beachful social media platform made using LAMPP stack.