Code Monkey home page Code Monkey logo

website-scipyla2016's Introduction

SciPyLA 2016

Website for the SciPyLA Conference 2016.

Dependencies

  • Python
  • virtualenv

Quickstart

$ git clone [email protected]:scipy-latinamerica/website-scipyla2016.git
$ cd website-scipyla2016
$ virtualenv .
$ source bin/activate
$ pip install -r requirements.txt
$ python manage.py syncdb
$ python manage.py loaddata fixtures/*
$ python manage.py runserver

Open http://localhost:8000/scipyla2016/ on your web browser to preview the web site.

Administration

Open http://localhost:8000/scipyla2016/admin/ and log in with the email address and password that you provide during the quickstart.

If you forgot the email address and password use

$ python manage.py createsuperuser

Dump data

Some configuration are stored on fixtures/ that are load with

$ python manage.py loaddata fixtures/*

and need to be run

$ python manage.py dumpdata --indent=4 boxes.box > fixtures/boxes_box.json
$ python manage.py sitetreedump --indent=4 > fixtures/sitetree.json
$ python manage.py dumpdata --indent=4 conference.conference conference.section > fixtures/conference.json
$ python manage.py dumpdata --indent=4 sites.site > fixtures/initial_data.json
$ python manage.py dumpdata --indent=4 proposals.proposalkind proposals.proposalsection > fixtures/proposal_base.json
$ python manage.py dumpdata --indent=4 sponsorship.benefit sponsorship.benefitlevel > fixtures/sponsor_benefits.json
$ python manage.py dumpdata --indent=4 sponsorship.sponsorlevel > fixtures/sponsor_levels.json

Translation

Please read https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#localization-how-to-create-language-files.

To generate the po files and extract the marked texts:

$ cd scipyla2016
$ django-admin makemessages -l pt -l es

The files to translate will be available at scipyla2016/locale/XX/LC_MESSAGES/django.po

After translate the po file you need to generate the .mo files, run:

$ cd scipyla2016
$ django-admin.py compilemessages

To test the translation you need to change the default language of your web browser. In Firefox, access about:config and change intl.accept_languages to en, pt or es, Django uses standard language format. For more information about how Django discovers language preference read https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#how-django-discovers-language-preference.

Issues

Please create issues at https://github.com/scipy-latinamerica/scipyla2016/issues.

website-scipyla2016's People

Contributors

lukeman avatar jtauber avatar polarbeardesign avatar codersquid avatar brosner avatar mrterry avatar aterrel avatar rgaiacs avatar katyhuff avatar xmnlab avatar knabben avatar wrought avatar scopatz avatar ivanov avatar holdenweb avatar asmeurer avatar zerok avatar jwiggins avatar matthewturk avatar trbs avatar

Watchers

James Cloos avatar Jeudy Blanco avatar

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.