scipy-latinamerica/website-scipyla2016

Name: website-scipyla2016

Owner: SciPy Latin America

Description: Symposion-based website for SciPyLA 2016 conference

Forked from: scipy-conference/SciPy-2014

Created: 2015-12-19 10:44:43.0

Updated: 2016-02-25 18:30:11.0

Pushed: 2016-05-05 08:38:06.0

Homepage: http://scipyla.org/

Size: 7021

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SciPyLA 2016

Website for the SciPyLA Conference 2016.

Dependencies
Quickstart

Dependencies you need to install beforehand:

do apt-get install virtualenv libmysqlclient-dev python-dev

t clone git@github.com:scipy-latinamerica/website-scipyla2016.git
 website-scipyla2016
rtualenv .
urce bin/activate
p install -r requirements.txt
thon manage.py syncdb
thon manage.py loaddata fixtures/*
thon 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

thon manage.py createsuperuser
Dump data

Some configuration are stored on fixtures/ that are load with

thon manage.py loaddata fixtures/*

and need to be run

dump.sh
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:

 scipyla2016
ango-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:

 scipyla2016
ango-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.

Deploy
  1. Access the server using

    h scipyla2016@web427.webfaction.com
    
  2. Run the following steps:

     scipyla2016/
    urce bin/activate
     website-scipyla2016/
    

    Load the virtualenv is very important.

  3. Update the source code:

    t pull origin master
    
  4. Update the database:

    thon manage.py loaddata fixtures/*
    
  5. Run the following step:

    uch wf_wsgi.py
    

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.