-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f25ca76
commit 3bf375b
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,75 @@ | ||
# PHP Todo List Exercise | ||
|
||
The goal of this exercise is to collaborate on a simple project on GitHub as a team of 2 or 3. | ||
|
||
|
||
|
||
## Application | ||
|
||
This repository contains a partially implemented todo list written in PHP, HTML and CSS. | ||
|
||
Parts of the PHP code are missing, marked with a comment `// IMPLEMENT ME`. | ||
|
||
You may run this application on your local machine with [MAMP][mamp] or [WAMP][wamp], or with a local installation of PHP and MySQL. | ||
|
||
### Tips | ||
|
||
* This repository contains a `todolist.sql` file you can use to create the database for this project. | ||
|
||
If you use MAMP, you can run its contents from MAMP's phpMyAdmin interface. | ||
* You can update the [constants at the top of `index.php`][ex-constants] to match your local installation: | ||
* The value of `BASE_URL` must match the URL at which the application is available. | ||
|
||
For example, if you use MAMP and put this repository in MAMP's `htdocs` directory, | ||
the application will be accessible at http://localhost:8888/comem-archidep-php-todo-exercise/ (with the default ports). | ||
In this situation, the value of `BASE_URL` should be `/comem-archidep-php-todo-exercise/`. | ||
* You can change the value of `DB_PORT` to match your local MySQL port (for example, with MAMP, the default is 8889). | ||
|
||
|
||
|
||
## Instructions | ||
|
||
The first two team members will be referred to as **Bob** and **Alice**. | ||
|
||
1. **Bob** | ||
* Open the [MediaComem/comem-archidep-php-todo-exercise][ex-repo] in your browser. | ||
* Click the **`Fork`** button in the top-right corner of the page (you must be logged in to GitHub). | ||
|
||
![Fork](images/fork.png) | ||
|
||
This will create a copy of the repository on GitHub that belongs to you (under your GitHub username instead of `MediaComem`). | ||
* In the settings of that repository, add **Alice** and any other team members to the list of **Collaborators** (this will give them push access). | ||
* Clone the repository on your local machine. | ||
2. **Alice** (and other team members) | ||
* Clone Bob's repository on your local machine. | ||
3. **All** | ||
* Implement one or more missing feature. | ||
* Commit the change and push it to GitHub. | ||
|
||
|
||
|
||
## Evaluation | ||
|
||
* The work must be delivered in the forked repository on GitHub. | ||
* The todo list must work. | ||
* Tasks can be added, toggled and deleted. | ||
* Tasks must be listed from newest to oldest (i.e. by descending creation date). | ||
* Each team member must contribute at least one useful commit. | ||
* The author name and email address of each team member's commits must be correctly configured. | ||
* Commit messages must be relevant (i.e. describe the change that was made). | ||
|
||
|
||
|
||
## Delivery | ||
|
||
Send an email to the teacher with: | ||
|
||
* The link to the team's solution repository on GitHub. | ||
* The list of team members (if it cannot be easily deduced from the GitHub usernames or the commit authors' name and email address). | ||
|
||
|
||
|
||
[ex-constants]: https://github.com/MediaComem/comem-archidep-php-todo-exercise/blob/master/index.php#L3-L8 | ||
[ex-repo]: https://github.com/MediaComem/comem-archidep-php-todo-exercise | ||
[mamp]: https://www.mamp.info/ | ||
[wamp]: http://www.wampserver.com/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.