Giter Site home page Giter Site logo

da-etsiinf / tryit-legacy Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 6.0 37.83 MB

Congreso TryIT! Website

Home Page: https://congresotryit.es

License: GNU General Public License v3.0

Python 45.60% CSS 4.51% JavaScript 2.85% HTML 46.78% Shell 0.10% Dockerfile 0.15%
tryit fi etsiinf upm django

tryit-legacy's Introduction

TryIT!

Legacy Source code for the Try IT! website.

This code is no longer used in production. Current repositories used are:

TryIT! Frontend TryIT! Backend

No support will be provided for this repository in any way, shape or form.

Official website: https://congresotryit.es/

Dependencies

  • Python 3.5.3
  • Django 2.1.7
  • django-backup 1.0.1
  • djangorestframework 3.7.1
  • gunicorn 19.7.1
  • olefile 0.44
  • Pillow 5.4.1
  • pytz 2018.7
  • reportlab 3.4.0
  • pip 19.0.1

Installation

Linux

1. Install python 3.5 and pip

$ sudo apt install python3.5
$ sudo apt install python-pip

Also upgrade pip if necessary

$ pip install --upgrade pip

2. Create a virtual environment with python 3.5

First install virtualenvwrapper

$ sudo apt install virtualenvwrapper

Then create a virtual environment

$ mkvirtualenv --python=/usr/bin/python3.5 tryIt

If it is not automatically activated then, activate it

$ workon tryIt

3. Install the requirements

$ pip install -r requirements.txt

Windows

1. Download and install python 3.5 from the official web page

2. Install pip

> py -m pip install

Also upgrade pip if necessary

> py -m pip install --upgrade pip

3. Create a virtual environment with python 3.5

First install virtualenv

> py -m pip install --user virtualenv

Then create the virtual environment

> py -m virtualenv tryIt

If it is not automatically activated, then activate it

> .\tryIt\Scripts\activate

4. Install the requirements

 > pip install -r requirements.txt

Mac

1. Install Homebrew if it is not installed

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Install Python 3

brew install python3

3. Install virtualEnv

sudo pip install virtualenv

4. Create a virtualenv

virtualenv tryIt -p python3

If it is not automatically activated, then activate it

source triIt/bin/activate

5. Install requirements

pip install -r requirements.txt

Docker

Install the docker package

$ sudo apt install -y docker-engine

Run

DB

First of all you need to execute this commands to set up the DB.

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

Create from scratch

After doing the previous step, you must create a super user for the DB

$ python manage.py createsuperuser

Once you have the super user created, go to http://127.0.0.1:8000/admin/, introduce the user and password and you can start creating the items for the DB.

Linux (via terminal)

With your virtualenv activated, you can run python manage.py runserver or ./manage.py runserver if it has execute permission.

Then you can go to the url http://127.0.0.1:8000.

Windows (via terminal)

With your virtualenv activated, you can run python manage.py runserver.

Then you can go to the url http://127.0.0.1:8000.

Mac

With your virtualenv activated, you can run python manage.py runserver.

Then you can go to the url http://127.0.0.1:8000.

Docker

1. Move to the docker-dev directory

$ cd docker-dev

2. Build the dev image

$ docker build -t tryit-web-dev .

3. Run this compose

$ docker-compose up -d

4. Run bash in the image

$ docker-compose exec web bash

5. Run Django

$ python manage.py runserver 0.0.0.0:8000

Then you can go to the url http://0.0.0.0:8000.

License

GNU GENERAL PUBLIC LICENSE.

Authors

tryit-legacy's People

Contributors

alexomonty avatar alvarogtx300 avatar cud4m avatar diegofpb avatar javierbh avatar lexotero avatar m-t3k avatar onmax avatar samgh96 avatar svg153 avatar thearturthur avatar victorns69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tryit-legacy's Issues

Add a new register page for Escape Room

This page will have:

Short description and rules
Inputs:

  • Name and lastname
  • Email
  • All sessions with current availability
  • A select input to select the company' gift card in case of winning
  • Checkbox in order to obtain consent to publish images in social media and others

Create the README.md file

TODO list to include in the README.md

  • Description (in one line)
  • Travis CI
  • Dependecies
  • Installation
    • Linux
    • Mac
    • Windows
    • Docker
  • Run
    • DDBB
      • Crete from scrach
      • Insert examples
    • Linux (terminal)
    • Windows (terminal)
    • PyCharm
      • Normal
      • Docker
  • License
  • Authors

add Ada Byron in home

Me falta el cartel.

  • Cartel del evento

Falta

  • URL para el registro

https://goo.gl/forms/a8EjUndrOb1uHNYl1

Las inscripciones estarán abiertas hasta el 19 de marzo (el lunes)

  • Aforo máximo / Máximo número de participantes

25 equipos de personas cada equipo = 75 participantes

  • Información sobre el "taller" , que en este caso es un concurso

Los días 20 y 21 de abril va a tener lugar en la Universidad Autónoma de Madrid la IV edición del concurso de programación Ada Byron http://ada-byron.es/2018/

Para seleccionar a los 7 equipos que representarán a la UPM hemos organizado una fase local de este concurso. Cada equipo consta de tres participantes. La fase local tendrá lugar el 22 de marzo de 15:30 a 18:30 en Los Verdes. Para poder participar tenéis que registraros en https://goo.gl/forms/a8EjUndrOb1uHNYl1

  • Información relativa a hora y duración

De 15:30 a 19:00

  • Requisitos mínimos / que se recomienda

Para poder participar hay que tener al menos un problema aceptado por el juez ¡acepta el reto! Por ejemplo, el siguiente problema:

https://www.aceptaelreto.com/problem/statement.php?id=446

Si no conseguís que os acepten el código, escribir a [email protected] con vuestras dudas.

Improved frontend in stats page

TODO list to include in the web

  • General
    • Add lineal graph divided by tickets sold
    • Add lineal graph divided by assistent
    • Percentage divided by courses, upm not fi and not upm
  • Editions
    • Add column graph divided by courses, upm not fi and not upm
    • Percentage divided by courses, upm not fi and not upm
    • Add lineal graph divided by assistent and by days
  • Talks
    • Add column graph divided by courses, upm not fi and not upm
    • Percentage divided by courses, upm not fi and not upm

Add organizers page

Add as an api endpoint an organizers page which will take the data from db.

  • Organizers should be related to editions.
  • You can set which organizers are participating in an edition.

Volunteers related to attendant identity

When a users is sign in up for volunteer check first if an attendant with that identity exists. Volunteers expedient must be replaced for identity and checked against replaced by an attendant. This will help when ects must be valculated

Improve frontend

List to improve:

  • Redesign Call for papers
  • Add Swiper to watch photos of recent years
  • Move colors to CSS variables
  • Add h1 to all pages
  • Add ACM logo and link in footer

Refactor docker-compose builds

In order to improve development and testing I think it would be nice to have a dev-oriented compose with this repo as a volume to edit files and have an inmediate response in deployment and a docker image oriented to production.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.