postgreSQL :

Nginx:

Django:

Add this first to settings.py

then check here:

Gunicorn:

Use the command cat  or tail  to see the output.

grep -rnw “superlists.settings” -e “DJANGO_SETTINGS”

Explanation of flags:

To configure fabric to connect to remote hosts using SSH keyfiles on Amazon EC2 instances.

add the following after REPO_URL (If you are following OBTTG Tutorial : Chapter 11):

 

“A programmer’s skill are determined by his initial training.
How enthusiastic are you when learning code?
How well did you comprehend a great programmer’s algorithm?
Repeat the basics until you become like a river flowing into a beautiful field; that’s the ideal application.
Then, the most important thing is to not abandon the project no matter how difficult the code is.”
– Programmer X

Art by Ascii Art

PYTHON Web Development is the main focus :

1. Areas to explore

• Test Automation ( Udemy / TDD course)
• Data Science (Dataquest)
• Scripts ( Discogs API / ATBS scripts for cvs)

2. Django Applications to build for Discogs / SenseOfGroove

• Build Store => senseofgroove.com
• Build Blog => senseofgroove.com/blog
• Build sog inventory based on Discogs API
• Build Rank / Trivia App from Discogs API
• JAVASCRIPT PRACTICE http://javascript.info/recursion
• OBTTG finish it and remix it with Udemy version.
• PORTFOLIO => albertfougy.com
• * ANTONIO MELE BOOK : DJANGO 2 BY EXAMPLE *
• Hackerrank deliberate practice in Python. Codewars.com (IN THE MORNING, WHEN I WAKE UP)
• Check Github Repo [That I love!] for Python issues and write TESTS for them
• Fix bugs after tests and submit pull requests :=> https://github.com/pallets/werkzeug
• Read Learn Python
• Write short scripts to help with Discogs ATBS (csv, file manipulation, API)
• Write code on paper and step through it.
• Reinforced what I learned through albertfougy.com (turn on blog for feedback)

 

The Twelve Factors

1. Codebase

One codebase tracked in revision control, many deploys

2. Dependencies

Explicitly declare and isolate dependencies

3. Config

Store config in the environment

4. Backing services

Treat backing services as attached resources

5. Build, release, run

Strictly separate build and run stages

6. Processes

Execute the app as one or more stateless processes

7. Port binding

Export services via port binding

8. Concurrency

Scale out via the process model

9. Disposability

Maximize robustness with fast startup and graceful shutdown

10. Dev/prod parity

Keep development, staging, and production as similar as possible

11. Logs

Treat logs as event streams

12. Admin processes

Run admin/management tasks as one-off processes

 

courtesy of https://12factor.net/