This is the third iteration of my CC_Redact website, a fresh attempt at my previous Fake Chuckee Cheese Neptune Membership Card Redactor App.
The main purpose of this project is to accept the web site visitor's fake membership card number and redact it.
What distinguishes this iteration of this poject from previous iterations is that this time around I intend on using only a single template (the home page / landing page) to present all the functionality, rather than distribute each feature in their separate disparate templates.
For *nix:
$ virtualenv --python=python3.8 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py runserver
To get your test server running, you'll also need to create superuser and login to the Admin Dashboard and create a blog post by entering Lorem Ipsum placeholder content. The migrate and make migrations.
Those instructions are for Linux. I believe macOS is similar. No idea for Windows.
This project includes three core apps:
- redactors: This app accepts the user's 12 digit card number as input and then processes (redacts) it
- posts: This app is kinda like a blog post, but in my production environment I intend on invoking this app only once to create a single blog post which will contain my 'post-mortem' to (document everything I learned while writing this Django site)
- counters: This app will eventually count all the words used in the postmortem and present the data to the user. But for now it just counts the most common words in a text file of the public domain work Alice and Wonderland - - which was a project that I have worked on for a previous Python shell script that I wrote in 2019
After the above features are implemeneted, later I plan on adding these four minor additional features:
- When the usr clicks the 'Redact' button, the results 'gently' animate into existence. I believe this can be achieved using AJAX. This will take some future reasarch on my part.
- A page view hit counter
- Show current time and date at bottom of landing webpage
- Public domain copyright note with dynamic year value