Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Latest commit

 

History

History
57 lines (48 loc) · 2.42 KB

README.md

File metadata and controls

57 lines (48 loc) · 2.42 KB

Team members

  • Dora Oline Eriksrud (teatimes)
  • Ole Anders Stokker (frozenlight)
  • Vetle Bjørngård Gundersen (weedle1912)
  • Jacob Odgård Tørring (odgaard)

Development setup

To run Viestinta, you need to obtain Oauth2 credentials from our provider at Dataporten. Or you could request oleast*stud.ntnu.no for the use of our secret keys.

Our setup is developed primarily to work on Linux. This does not mean it can't be run on Windows or MacOS, but that you may need to jump through some hoops to get it working, and that only linux is officially supported. This is because the docker image we are using relies on a linux system, and any other operating system would need to run the container in a virtual machine.

  1. Install docker: https://docs.docker.com/engine/installation/
  2. Install docker-compose: https://docs.docker.com/compose/install/
  3. Clone the repo:
    git clone https://github.com/Viestinta/viestinta.git
    
  4. Move into the repo:
    cd viestinta
    
  5. Fire up docker containers, which optionally builds the image if it doesn't exist (this can take a while):
    sudo docker-compose up
    
  6. Connect to website by entering localhost:8000 into your browser

Production setup

Trailer