concerthub is the place to be for local and big bands to run your gigs at gløs
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
- 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