Skip to content

Latest commit

 

History

History
144 lines (94 loc) · 4.52 KB

README_en.md

File metadata and controls

144 lines (94 loc) · 4.52 KB

Medieteknik

🌐 Website

Table of Contents

Overview

This repository is for the website found at https://medieteknik.com and is tailored for students studying at KTH and specifically the Media Technology Programme (Site in Swedish)

This branch is mainly for the development of the new redesign of the website

Tech Stack

Front-End

TypeScript Next.js TailwindCSS shadcn/ui

Back-End

Python Flask

Database

Postgres

Other

Docker Firebase Google Cloud

Git

Prerequisites

Software Requirements

npm

Python PyPI Docker

Environment Variables

These will be built automatically see Installation

Installation

git clone -b hemsidan-redesign https://github.com/medieteknik-kth/medieteknik.com.git
cd medieteknik.com

Windows

  1. Install Git and Git Bash, and ensure it is located in C:\Program Files\Git\
  2. Run setup.bat as an administrator, to run setup.sh with a PowerShell hook

Unix (bash)

$ chmod +x setup.sh
$ bash setup.sh

Running

Frontend

  1. VSCode

    • Press F5
  2. Terminal

    • npm run dev

Backend

  1. Terminal
    • docker-compose up -d --build

Usage

Docker

Update tables

In medieteknik_web

python init_db.py

Recreate tables

This drops all tables and recreates.

In medieteknik_web

python init_db.py --recreate

License

Medieteknik is licensed under MIT License

Contact

If you have any questions or feedback please don't hesitate to email us at: [email protected]

For issues use the issues tab found on GitHub