Skip to content

Commit 512e905

Browse files
authored
Merge pull request #430 from Seluj78/comprehensive-readme
2 parents b897cf8 + 84d4983 commit 512e905

File tree

11 files changed

+79
-2
lines changed

11 files changed

+79
-2
lines changed

README.md

Lines changed: 79 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,83 @@
11
![GitHub](https://img.shields.io/github/license/seluj78/pymatcha?style=for-the-badge) ![Travis (.com)](https://img.shields.io/travis/com/seluj78/pymatcha/dev?label=builds%20and%20tests&style=for-the-badge) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/seluj78/pymatcha?style=for-the-badge) ![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/seluj78/pymatcha?style=for-the-badge)
2-
## API Docs:
2+
# PyMatcha
3+
#### Made by [Jules Lasne](https://github.com/seluj78) and [Lauris Skrauci](https://github.com/suppalarry)
34

5+
## Summary
6+
- [Why ?](#why)
7+
- [Installation](#installation)
8+
- [For Production](#for-production)
9+
- [For developpment](#for-developpment)
10+
- [Backend](#backend)
11+
- [Workers](#workers)
12+
- [Frontend](#frontend)
13+
- [Services in docker-compose](#the-different-services-on-the-docker-compose)
14+
- [What does it look like](#what-does-it-look-like)
15+
- [How long did it take](#how-long-did-it-take)
16+
- [How many lines of code](#how-many-lines-of-code)
17+
- [What are the features](#features-implemented)
18+
- [What are the bonuses](#bonuses-implemented)
19+
20+
### Why ?
21+
Matcha is a [42](https://42.fr) school project aiming to teach how to make a dating website. Lauris and Jules chose to make it as close as it could be to a real production product.
22+
You can find the subject [here](https://github.com/Seluj78/PyMatcha/blob/dev/subject.pdf)
23+
24+
### Installation
25+
#### For production
26+
You can simply download or git clone the project and, once inside of it, run `docker-compose up --build`.
27+
The website will be accessible on port `4242`.
28+
#### For developpment
29+
First of all, clone or download the repository, extract it if necessary then cd into it.
30+
31+
##### Backend:
32+
You'll need `python3.8`+. cd in the backend and run:
33+
```shell
34+
python3.8 -m venv venv --prompt PyMatcha
35+
```
36+
```shell
37+
source venv/bin/activate
438
```
5-
docker run -p 80:8080 -e SWAGGER_JSON=/foo/swagger.yaml -v app:/foo swaggerapi/swagger-ui
39+
```shell
40+
pip install backend/requirements.txt
641
```
42+
```shell
43+
python run.py
44+
```
45+
46+
##### Workers:
47+
Same thing as for the backend, just then `cd` in the backend folder and run
48+
```shell
49+
celery -A PyMatcha.celery worker -E --loglevel=INFO -B --pool=threads
50+
```
51+
52+
##### Frontend:
53+
`cd` in the frontend folder and run `yarn install` then `yarn run`
54+
55+
### The different services on the docker-compose:
56+
57+
### What does it look like
58+
![Home page](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/home_page.jpg?raw=true)
59+
![Recommended profiles](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/recommended_profiles.jpg?raw=true)
60+
![Search page](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/search_page.png?raw=true)
61+
![Search no results](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/search_no_results.png?raw=true)
62+
![Search results](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/search_results.jpg?raw=true)
63+
![Profile settings](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/profile_settings.png?raw=true)
64+
![History](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/history.jpg?raw=true)
65+
![Profile](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/unmatched_profile.png?raw=true)
66+
![Matched profile](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/matched_profile.jpg?raw=true)
67+
![Matches and chat](https://github.com/seluj78/PyMatcha/blob/dev/screenshots/matches_chat.jpg?raw=true)
68+
69+
### How long did it take
70+
Lauris and Jules started working on it at the begining of september and finished on `XXX`.
71+
If you see commits before September, it's of an older version where Jules changed twice of frontend partner
72+
Here is a nice visual representation of the commits:
73+
74+
gource
75+
76+
### How many lines of code
77+
cloc
78+
79+
### Features implemented
80+
- Feature list
81+
82+
### Bonuses implemented
83+
- Bonuses list

screenshots/history.jpg

331 KB
Loading

screenshots/home_page.jpg

1.61 MB
Loading

screenshots/matched_profile.jpg

309 KB
Loading

screenshots/matches_chat.png

72 KB
Loading

screenshots/profile_settings.png

214 KB
Loading
346 KB
Loading

screenshots/search_no_results.png

49.7 KB
Loading

screenshots/search_page.png

41.6 KB
Loading

screenshots/search_results.jpg

1.18 MB
Loading

0 commit comments

Comments
 (0)