Skip to content

ionescu77/myWebsite2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myWebsite2

Python Django Postgresql Build Status Coverage Status

Codacy Badge DeepSource

About

myWebsite2 is myWebsite upgraded & migrated to django 1.11.16 2.2.19 and python 3.6.7 (thanks @alexinntekt, @ionescu77)

[you can also find the old read.me below]

  • created a new github private repository
  • added gitignore from the start
  • added GNU GPL v3.0 license (you use it it remains open source, not closed source)
  • extended this README

Environment

  • environment variables needed:
# local
export SECRET_KEY_RAZ="--some-key--"
export DJANGO_SETTINGS_MODULE="ionescu77v2Project.settings.local"

# production
SECRET_KEY_IONESCU77="--some-key--"
export SECRET_KEY_IONESCU77
export DJANGO_SETTINGS_MODULE="ionescu77v2Project.settings.production"
DB_NAME_IONESCU77="--some-db-name--"
DB_USER_IONESCU77="--some-db-user--"
DB_PASS_IONESCU77="--some-db-pass--"
DB_PORT_IONESCU77="--some-db-port--"
export DB_NAME_IONESCU77 DB_USER_IONESCU77 DB_PASS_IONESCU77 DB_PORT_IONESCU77

myWebsite

#Notes to (mainly) myself:

Codul sursă de la site-ul meu, mereu în lucru.

Run coverage locally and generate nice html reports (in ./reports/coverage)

python3 src/manage.py jenkins --enable-coverage --coverage-format html blogengine

Run tests locally with jenkins (django style does not work anymore)

python3 src/manage.py jenkins blogengine accounts

20181120

Workflow (using git hooks & shell scripts for deployment):

  • dev -> local.txt -> virtualenv (python 3.6 & runserver)
  • test -> staging.txt -> ionescu77.avproiect.com (python 3.6 & mod_wsgi)
  • live -> production.txt -> ionescu77.com (python 3.6 & & mod_wsgi)

2016.03.08

Am zis să public codul poate asta mă motivează să îi dau bice și să încep să mai și scriu câte ceva.

2015.12.11

#Future sprints

  • adaugare Disqus pentru comentarii Completed
  • adăugare formular de contact
  • css pt social icons
  • code refactoring
  • django i18n & localizare RO, DE, EN
  • image credit
  • CDN și alternativă la CDN pt boostrap, jquery
  • publicare automată bookmark-uri folosind evernote API
  • publicare imagini în articolele de blog
  • optimizare SEO, meta și Structured Data Markup - schema.org
  • migrare la Wagtail, care rezolva si din punctele de mai sus: i18n, imagini, seo