Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

IEEEComputerSocietyUNB/WebApp

Repository files navigation

Computer Society UnB WebApp

WebApp for IEEE Computer Society Student Branch UnB (University of Brasília).

Schedule

Date Description
01/08/2017 Init
16/10/2017 Init of Back-end
16/10/2017 Deploy of the WebApp
30/11/2017 Demo with Ulisses

Configuration

Start VE

$ python3 -m venv venv
$ source venv/bin/activate

Installing the requirements

pip install -r requirements.txt

Database

We're using Postgres. Therefore, install Postgres. After installation, the port selected for the project is 5432.

Create and update on Django

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

Server

We're using Heroku > https://ieeecsunb.herokuapp.com.

$ heroku login
$ git push heroku master
$ heroku ps:scale web=1 # one dyno
$ heroku open
$ heroku run python manage.py migrate

Run

After running the command below the server will be up on the address http://127.0.0.1:8000/.

$ python manage.py runserver

Team