Adding all last updates to repo
Please add and commit when you change someting!
This commit is contained in:
43
Setup_FET_Template/2_1_setup_environment.md
Normal file
43
Setup_FET_Template/2_1_setup_environment.md
Normal file
@@ -0,0 +1,43 @@
|
||||
title: 2.1 Setup für Entwicklungsumgebung
|
||||
|
||||
|
||||
Den Anweisungen in Kapitel 1 dieser Dokumentation folgend eine Entwicklungsumgebung aktivieren.
|
||||
|
||||
* [Install](/HowToStart/1_1_setup_new_environment/)
|
||||
* [First Steps](/HowToStart/1_2_first_steps/)
|
||||
|
||||
|
||||
Wieder in das python environment einsteigen:
|
||||
|
||||
:::bash
|
||||
python3 -m venv .env
|
||||
activate
|
||||
|
||||
|
||||
## Django installieren und app initalisieren
|
||||
[Tutorial dem ich lose gefolgt bin](https://docs.djangoproject.com/en/3.0/intro/tutorial01/)
|
||||
|
||||
:::bash
|
||||
python3 -m pip install django
|
||||
django-admin startproject fet2020
|
||||
cd fet2020
|
||||
python manage.py startapp posts
|
||||
|
||||
|
||||
Git Initailisieren vor erstem individuellen
|
||||
|
||||
:::bash
|
||||
cd /srv/fet2020_app
|
||||
git init
|
||||
|
||||
Create .gitignore
|
||||
|
||||
:::bash
|
||||
.env/*
|
||||
*.pyc
|
||||
|
||||
Initial commit
|
||||
|
||||
:::bash
|
||||
git add fet2020/*
|
||||
git commit -m "Init commit"
|
||||
4
Setup_FET_Template/2_2_templates.md
Normal file
4
Setup_FET_Template/2_2_templates.md
Normal file
@@ -0,0 +1,4 @@
|
||||
title: 2.2 Templates und assets
|
||||
|
||||
|
||||
:::bash
|
||||
5
Setup_FET_Template/index.md
Normal file
5
Setup_FET_Template/index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
title: 2. FET Template einrichten
|
||||
template: page_plain.html
|
||||
|
||||
Diese Section muss nicht mehr durchgearbeitet werden, soll aber alle Schritte zeigen mit denen das 2020 Template erstellt wurde.
|
||||
$subpages$
|
||||
Reference in New Issue
Block a user