Skip to content

IT1901 Informatikk prosjektarbeid I Høst 2017 - NTNU Trondeim. Vi laget en internportal for en fiktiv arrangør av festivaler. Vi lagde også en stor mengde dokumentasjon. Resultat: A

Notifications You must be signed in to change notification settings

aukoyy/concerthub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

concerthub Logo

concerthub

concerthub is the place to be for local and big bands to run your gigs at gløs

Set up on Linux

Install and configure PostgreSQL. (Drive > Team Isbjørn > Tech docs > Auk_PostgreSQL)

Make sure to have virtualenv and pip installed

Go to your preferred code / github folder

$ virtualenv -p python3 it1901
$ cd it1901
$ source bin/activate
$ mkdir src
$ cd src

Remember the dot (".") at the end of following command. It copies all files to current folder, as opposed to a new folder with all the files.

$ git clone '[repo link]' .

Install all the dependencies:

$ pip install -r requirements.txt

You may now test the server

$ python manage.py runserver

To get the models and admin up and running, run

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser

127.0.0.1:8000/admin should now work

Set up on Windows

  • Install Linux
  • Follow above steps

Install and configure PostgreSQL. (Drive > Team Isbjørn > Tech docs > Auk_PostgreSQL)

Make sure to have python 3.5 or above, virtualenv and pip installed

Go to your preferred code / github folder

> virtualenv it1901
> cd it1901/Scripts
> activate
> cd ..
> mkdir src
> cd src

Remember the dot (".") at the end of following command. It copies all files to current folder, as opposed to a now folder with all the files.

> git clone '[repo link]' .

Install all the dependencies:

> pip install -r requirements.txt

You may now test the server

> python manage.py runserver

To get the models and admin up and running, make sure you installed and configured the database, then run

> python manage.py makemigrations
> python manage.py migrate
> python manage.py createsuperuser

127.0.0.1:8000/admin should now work

About

IT1901 Informatikk prosjektarbeid I Høst 2017 - NTNU Trondeim. Vi laget en internportal for en fiktiv arrangør av festivaler. Vi lagde også en stor mengde dokumentasjon. Resultat: A

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published