diff --git a/Dockerfile b/Dockerfile index ff6e66a..413a5f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.8.1 +RUN apt-get -y update +RUN apt-get -y upgrade RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - RUN apt-get -y install nodejs RUN apt-get -y install libcairo-dev diff --git a/LICENSE b/LICENSE index 1d2f9c3..c798866 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 pythonph +Copyright (c) 2025 pythonph Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/common/templates/base.html b/common/templates/base.html index 8c112d1..6ac9e2b 100644 --- a/common/templates/base.html +++ b/common/templates/base.html @@ -12,7 +12,8 @@ {% block css %} - + + {% compress css %} {% endcompress %} diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index bede0c3..ff77733 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -1,38 +1,41 @@ -source: - image: pythonph/pythonph - volumes: - - /usr/src/app/venv - - /usr/src/app/node_modules - - /usr/src/app/bower_components - - /usr/src/app/static - environment: - - ENV=DEV - env_file: dev.env - command: bin/install +version: "3" -db: - image: postgres:latest - environment: - - ENV=DEV - env_file: dev.env - -web: - image: pythonph/pythonph - volumes_from: - - source - environment: - - ENV=DEV - env_file: dev.env - ports: - - 8000:8000 - links: - - db:db - command: gunicorn -b 0.0.0.0:8000 --access-logfile - --error-logfile - pythonph.wsgi - -nginx: - build: nginx - ports: - - 8080:80 - - 443:443 - links: - - web:web +services: + source: + image: pythonph/pythonph + volumes: + - /usr/src/app/venv + - /usr/src/app/node_modules + - /usr/src/app/bower_components + - /usr/src/app/static + environment: + - ENV=DEV + env_file: dev.env + command: bin/install + + db: + image: postgres:latest + environment: + - ENV=DEV + env_file: dev.env + + web: + image: pythonph/pythonph + volumes_from: + - source + environment: + - ENV=DEV + env_file: dev.env + ports: + - 8000:8000 + links: + - db:db + command: gunicorn -b 0.0.0.0:8000 --access-logfile - --error-logfile - pythonph.wsgi + + nginx: + build: nginx + ports: + - 8080:80 + - 443:443 + links: + - web:web diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index b6fa456..c1d0626 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -1,28 +1,32 @@ -source: - image: pythonph/pythonph - volumes: - - /usr/src/app/venv - - /usr/src/app/node_modules - - /usr/src/app/bower_components - - /usr/src/app/static - environment: - - ENV=PROD - env_file: prod.env - command: bin/install +version: "3" -web: - image: pythonph/pythonph - volumes_from: - - source - environment: - - ENV=PROD - env_file: prod.env - command: gunicorn -b 0.0.0.0:8000 --access-logfile - --error-logfile - pythonph.wsgi - -nginx: - build: nginx - ports: - - 80:80 - - 443:443 - links: - - web:web +services: + source: + image: pythonph/pythonph + volumes: + - /usr/src/app/venv + - /usr/src/app/node_modules + - /usr/src/app/bower_components + - /usr/src/app/static + environment: + - ENV=PROD + env_file: prod.env + command: bin/install + + web: + image: pythonph/pythonph + volumes_from: + - source + environment: + - ENV=PROD + env_file: prod.env + command: gunicorn -b 0.0.0.0:8000 --access-logfile - --error-logfile - pythonph.wsgi + + nginx: + build: nginx + ports: + - 80:80 + - 443:443 + links: + - web:web + \ No newline at end of file diff --git a/landing/static/landing/assets/img/people/aira.jpg b/landing/static/landing/assets/img/people/aira.jpg new file mode 100644 index 0000000..92187e2 Binary files /dev/null and b/landing/static/landing/assets/img/people/aira.jpg differ diff --git a/landing/static/landing/assets/img/people/alex.jpg b/landing/static/landing/assets/img/people/alex.jpg new file mode 100644 index 0000000..5150bc7 Binary files /dev/null and b/landing/static/landing/assets/img/people/alex.jpg differ diff --git a/landing/static/landing/assets/img/people/freilla.png b/landing/static/landing/assets/img/people/freilla.png new file mode 100644 index 0000000..cb7eff9 Binary files /dev/null and b/landing/static/landing/assets/img/people/freilla.png differ diff --git a/landing/static/landing/assets/img/people/lalaine.jpg b/landing/static/landing/assets/img/people/lalaine.jpg new file mode 100644 index 0000000..3e73f22 Binary files /dev/null and b/landing/static/landing/assets/img/people/lalaine.jpg differ diff --git a/landing/static/landing/assets/img/people/rodney.jpg b/landing/static/landing/assets/img/people/rodney.jpg new file mode 100644 index 0000000..54bc84c Binary files /dev/null and b/landing/static/landing/assets/img/people/rodney.jpg differ diff --git a/landing/templates/landing/index.html b/landing/templates/landing/index.html index ae1fd8b..2db8dcb 100644 --- a/landing/templates/landing/index.html +++ b/landing/templates/landing/index.html @@ -580,20 +580,11 @@