1. A basic blog Django project, which enables * Create/View/Edit/Delete Blogs. * Slugify blog url with unique slug id * Comments thread, Reply, Delete * Accounts: login, register, logout * Security: login needed for specific actions: delete blog, comment deletion, post a comment * Integrate Travis CI tool to run unit test and display result dynamically
2. Use bootstrap, jqeury, javascript, pagedown, crispyforms, breadcrumbs to render the Layout
**3. Integrate virtualenv to isolate different env influence
-
git clone or download this project
-
cd to the project folder (top level)
-
virtualenv .env
-
.env\Scriptes\activate (windows) or source .venv/bin/activate (linux)
-
pip install -r requirement
-
python manage.py runserver
-
login to "localhost:8000/blogs" to see blogs
superuser might need to be reconfigured
- / ------------ home
- /blogs ------------ home
- /blogs/[1-9]+ -------------- blog details
- /blogs/[1-9]/edit ------------ blog edit
- /blogs/[1-9]/delete ---------- blog delete
- /blogs/create ---------------- blog creation