Giter Club home page Giter Club logo

dillo's Introduction

Dillo 1.0

Welcome to the Dillo codebase! Dillo is a free and open web platform created to support crowd-driven content.

Originally developed for the news website Blender.Today, it is now available as an unbranded site for anyone to power their own community!

We warmly welcome feedback, suggestions and pull requests.

Quick install with Docker

Keep in mind that the current installation instructions are valid only for testing. A production docker image will be available soon. In order to use the docker image you need Docker.

Once installed, you can simply run:

docker run --entrypoint="bash" -ti --name dillo_dev -p 5000:5000 \
-v <YOUR_DILLO_CHECKOUT_PATH>:/data/git/dillo armadillica/dillo_dev

This will download the dillo_dev image on your system and log you into the container. At that point you should run:

./setup.sh

and follow the instructions. Once the procedure is complete, run:

./manage.sh runserver

At this point Dillo is running and you can see it in your web browser.

Development installation

Dillo is a Flask application, and follows most of the typical install conventions. At this moment we don't provide specific instructions for online deployment, since our main focus is to create a Docker file and Docker image for easy installs.

Dependencies

  • MySQL (on Linux make sure you have libmysqlclient-dev)
  • Python 2.7 (on Linux make sure you have python-dev)
  • virtualenv
  • Nodejs (in particular we use npm)

Flask in the virtualenvironment

mkdir ~/venvs
virtualenv ~/venvs/dillo
. ~/venvs/dillo/bin activate
pip install -r requirements.txt

Gulp

npm install -g gulp
npm install
gulp

Database

Set up a MySQL database where you will install dillo. No schema is needed, just the database.

Config

The config.py.sample must be duplicated into a config.py, and edited with proper values.

Manage

Before running the site for the first time, run the following

. ~/venvs/dillo/bin/activate && python manage.py db upgrade
. ~/venvs/dillo/bin/activate && python manage.py setup

Once the setup is complete, the site can be started with:

. ~/venvs/dillo/bin/activate && python manage.py runserver

If you find any issues feel free to report them in the issue tracker. Thanks! Dillo is licensed as GPL2.

dillo's People

Contributors

fsiddi avatar fweeb avatar venomgfx avatar

Watchers

 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.