Skip to content
Website @ hackerspace-ntnu.no
JavaScript Python HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Mar 25, 2019
applications
authentication Add tests May 15, 2019
committees
door
files add custom file widget back May 12, 2019
internal Legg til migrasjoner for sletting av profil, etc. Mar 21, 2019
news Add catch for query before db creation in rare instances May 15, 2019
reservations hotfix reservation list for logged out users May 23, 2019
seasonal_events
userprofile Fix typo May 19, 2019
website Rewrite rest api, improve fullcalendar, add proper permissions in bot… May 19, 2019
.editorconfig Add editorconfig file Sep 3, 2016
.gitignore Ignore Jetbarins *.iml files Oct 10, 2018
.travis.yml Update ubuntu version Mar 18, 2019
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Mar 15, 2018
LICENSE Create LICENSE Apr 20, 2016
README.md Update README.md Jul 30, 2018
manage.py Restructure the project Feb 18, 2016
prod_requirements.txt
requirements.txt Update django, did not correspond with server 2.2.1 Jul 8, 2019

README.md

Hackerspace Website

Build Status Coverage Status

The code running hackerspace-ntnu.no.

Prerequisites

To get started developing, make sure you have the correct software installed.

This projects uses Django with Python 3. Make sure you have Python3 and pip3 installed.

For Linux

apt-get install python3

apt-get install python3-pip

For Windows

Alternatives:

  1. Install Python3 manually and use CMD

  2. Use an environment such as Cygwin64, select pip3 and python3 during install.

  3. Install Linux Subsystem for Windows and install Ubuntu (or other prefered distro) from Windows Store

Set up a virtual environment with virtualenv

Instead of installing a bunch of python files system-wide, we will use a virtual environment to install the packages in a single folder instead.

  1. Install virtualenv: pip3 install virtualenv

  2. Create virtualenv: virtualenv venv

  3. Activate virtualenv: source venv/bin/activate

Download and initialize the project

Clone the project: git clone https://github.com/hackerspace-ntnu/website.git

Go into the project: cd website/

Install required python packages: pip install -r requirements.txt

Migrate the database: python manage.py migrate

After installing the required packages and initializing the database, you can run the server with the following command: python manage.py runserver

You can’t perform that action at this time.