Skip to content

Commit

Permalink
Merge pull request #27 from dtekcth/static-fixes
Browse files Browse the repository at this point in the history
Static fixes
  • Loading branch information
The1Penguin authored May 4, 2024
2 parents f030bfe + 144068a commit 3fbc5b9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 39 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!make
include variables.env
export $(shell sed 's/=.*//' variables.env)
include .env
export $(shell sed 's/=.*//' .env)

test:
env
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ that are not checked in to Git:
* Database password

There is a file in the root directory of this repo called
`variables.env.template`. This file should be copied into a file called
`variables.env`, where you define these variables according to your liking.
`.env.template`. This file should be copied into a file called
`.env`, where you define these variables according to your liking.
Django's secret key should be a "large, unpredictable value". Just google
"[Django Secret Key Generator](https://www.miniwebtool.com/django-secret-key-generator/)" and you should find something.

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
DB_PASSWORD: "$DB_PASSWORD"
DB_HOST: "db"
DB_PORT: "5432"
DJANGO_SECRET_KEY: "$DJANGO_SECRET_KEY"
depends_on:
- db
volumes:
Expand Down
5 changes: 3 additions & 2 deletions dtekportal/homepage/templates/homepage/index/welcome-box.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% load i18n %}
{% load static %}


<div class="box">
<img src="https://www.chalmers.se/SiteCollectionImages/Programmallar/Masterprogram/image3-datateknik_300.jpg" style="height:3em;
<img src="{% static 'datalogo.svg' %}" style="height:3em;
position: absolute;
right: 10px;">
right: 20px;">

<header>
<h2>{% trans "Välkommen" %}</h2>
Expand Down
33 changes: 0 additions & 33 deletions logs/debug.log

This file was deleted.

0 comments on commit 3fbc5b9

Please sign in to comment.