Authors :
Simon Dormeau (Sowdowdow) Lucille Tyrakowski (Tearaluna)
This project is (proudly ?) made in french.
The goal of this one is to learn Python, Django and TDD at the same time ough ! The concept is simple, a public blog where anybody can register and write some articles, delete or modify them.
-
The practice of Test Driven Development is implemented through Django and tests are run by TravisCI.
-
Users are implemented through Django's Users while Posts are made by hand.
-
We use Bulma as css framework.
| Constraints |
|---|
| As a user I can register an account and I can login |
| As a user I can login in order to create a new entry |
| As a user I can create a new Post in order to share informations with people. |
| As a user I can modify and delete my posts |
| As a visitor, I have access to a listing of latest posts on the index page |
| As a visitor I can see all the publications from a user (on many pages if necessary) in order to read more from him |
The subject can be found here.
The presentation can be found here
- Any user can register an account / login / lougout /change password
- Any user can read any
Post - Any user can create / update / delete his
Posts
- RTF
Postedition - Any user can
CommentanyPost - Any user can create / update / delete his
Comments - Any user can
LikeanyPost - Any user can delete his
Likes
To install this project you need to install git, python3, pip and VirtualEnv preferably on a Linux environment.
Next, make a virtual env :
virtualenv -p python3 <foldername>
Go into this folder, then activate the environment :
cd <foldername>source bin/activate
Clone the repository and go inside the folder :
git clone https://github.com/sowdowdow/microblogging-django-projectcd microblogging-django-project/
Install requirements :
pip install -r requirements.txt
Launch server :
python manage.py runserver
That's it ! now you can try it at http://127.0.0.1:8000/.