GithubHelp home page GithubHelp logo

rogeriofalcone / django-fluent.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from django-fluent/django-fluent.org

0.0 2.0 0.0 1 MB

Code of django-fluent.org, also serving as example how to build django-fluent sites.

Home Page: http://django-fluent.org/

Ruby 2.02% Python 55.33% JavaScript 4.36% CSS 38.29%

django-fluent.org's Introduction

django-fluent.org

This is the source code of www.django-fluent.org You can use this freely as example how to use and run a django-fluent CMS site.

Django Fluent CMS modules

The following modules are used in this site:

To create your own Django-Fluent project, use our template at:

https://github.com/edoburu/django-project-template

Project layout

This project uses the following layout:

  • design/ design source files
  • src/ all source code
  • src/manage.py Django management tool
  • src/Guardfile Guard configuration
  • src/config.rb Compass configuration
  • src/requirements.txt PIP requirements file
  • src/apps/ the Django apps.
  • src/frontend/ all frontend templates/JS/CSS code.
  • src/djangofluent/ The project folder with settings, WSGI hook and URLconf.
  • src/djangofluent/settings/default.py configures default Django settings (same of all projects).
  • src/djangofluent/settings/project.py the settings for this project.
  • src/djangofluent/settings/local.py developer settings.
  • src/djangofluent/settings/env/*.py settings per host (beta/production) and production DB credentials.
  • src/djangofluent/wsgi/*.py WSGI start scripts per environment.
  • src/djangofluent/urls.py top level URLconf.
  • web/ The public files exposed by the webserver.
  • web/static/ Static files by Django apps.
  • web/media/ Uploaded media files (JPG/PNG, etc..)

Local development

Prerequisites

  • Python >= 2.6
  • pip
  • virtualenv (virtualenvwrapper is recommended)

Installation

To setup a local development environment:

# Clone the repository
git clone https://github.com/edoburu/django-fluent.org.git

# Create the environment:
mkvirtualenv django-fluent.org
cd src
pip install -r requirements.txt

# Configure MySQL:
mysql -u root -p
  create database `django-fluent.org`;
  grant all privileges on `django-fluent.org`.* to djangofluent@localhost identified by 'testtest';

./manage.py syncdb
./manage.py migrate

# Start Django
./manage.py runserver

Compiling CSS files

To compile SASS files:

gem install compass bootstrap-sass oily_png guard-livereload guard-compass

guard

To enable LiveReload of *.css files during development, install a browser plugin:

And toggle the "LiveReload" button in the browser at the desired page.

License

Feel free to use parts of this code in your projects.

Creative Commons License

Except otherwise noted, this project is © 2012-2013 Edoburu, under a Creative Commons Attribution 3.0 Unported License.

The django-fluent modules are licensed under the Apache License Version 2.0.

The design is licensed from templatemo.com under a Creative Commons Attribution 3.0 United States License.

Contributing

Patches are welcome and gratefully accepted, for this site and everything else on our GitHub page.

django-fluent.org's People

Contributors

vdboor avatar

Watchers

James Cloos avatar Rogerio 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.