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

We-Are-One-CS/intranet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django CI

We Are One (CentraleSupélec)

GitHub repository for our member website. This repository contains all files needed to see and integrate in the original website the 4 functions discussed during the initial phase of the project. The project is currently in development. Started at CentraleSupélec with Lattitude and We Are One.

Getting Started

Prerequisites

  1. Django 2.2.10
  2. Python 3.7.4
  3. PostgreSQL 10
  4. For others requirements, see requirements.txt

Run the project

Clone the project on your machine and change the directory :

$ git clone git@github.com:We-Are-One-CS/intranet.git
$ cd intranet/

Create the database:

  • Open the SQL Shell (psql)
  • Press enter five times to connect to the DB
$ CREATE DATABASE weareone;

Migrate the database:

$ python manage.py makemigrations wao 

$ python manage.py migrate --noinput

Create an admin user:

$ python manage.py createsuperuser

Run the app in a Django server:

$ python manage.py runserver

Now you should see the app by taping http://127.0.0.1:8000 in your web browser.

When you're done, don't forget to exit the server by :

Quit the server with CTRL-BREAK
(In Windows) Ctrl + C

Functions

  1. Personal data page: Each user has an unique page for seeing its private data. The users have the possibility to change their information.
  2. Events page: This page will show all the events that We Are One organize, and any user or visitor is able to subscribe to WAO events. There are public and private events, free and non-free event as well.
  3. Self development programs offered by We Are One: The website has the possibility to show all self development programs that the user can search and interact, either by subscribing or by setting its interest.
  4. Users directory: This function is mainly to being able to see the users database. Each user (that has the right to see) will be able to see the contact of others users.

To go further

To go further into the project, consult the project documentation (in French).

Authors

  • Ali Raïki
  • Leïla Bekaddour
  • Matheus Elyasha
  • Nouha Manai
  • Timothé Montel
  • Vítor Albuquerque
  • Yvan Lanore