GithubHelp home page GithubHelp logo

komitywa / volontulo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stxnext-csr/volontulo

0.0 4.0 0.0 14.6 MB

Web portal for collaboration of community volunteers with organizations and institutions.

License: MIT License

Python 63.96% HTML 28.71% JavaScript 0.76% CSS 6.24% Shell 0.33%

volontulo's Introduction

volontulo

Join the chat at https://gitter.im/stxnext-csr/volontulo Build Status codecov.io

Volontulo logo

Web portal for collaboration of community volunteers with organizations and institutions.

Semi-automated Project Set Up

Install system dependecies

sudo bin/install_dependencies

Setup virtualenv, python packages, run migration and gulp.

bin/setup

Activate virtualenv.

source env/bin/activate

Django commands

python manage.py COMMAND --settings=volontulo_org.settings.dev

Manual Project Set Up

Usage of virtualenv is recommended. Assuming you use Virtualenvwrapper:

mkvirtualenv --no-site-packages venv_name

To install project dependencies use pip and choose the correct file (production, development, etc.)

pip install -r requirements/dev.txt

Copy the Local Configuration file:

cp etc/local_config.yaml.sample local_config.yaml
vim local_config.yaml

Fill the Local Configuration Values. To generate "secret_key", you can use head -c 64 /dev/urandom | base64 -w 0 For Windows users may be used simple:

python -c "import uuid; print str(uuid.uuid4()).replace('-', '')"

If the site is supposed to be served under different domain than volontulo.org or volontuloapp.org and you are not in development environment, fill the "allowed_host" value. Otherwise it can be left blank.

Gulp Instalation

Gulp is used to prepare and serve all static files into /apps/volontulo/static/volontulo so Django can use them

cd /apps/volontulo
npm install

Windows can have problems with unix paths, so it is practical to install Gulp globally (with sudo on linux)

npm install -g gulp

Using Gulp

In development

gulp watch

Otherwise

gulp build

To convert svg icons to base64 format that ultimately is compiled to CSS, use:

gulp build_icons

Icons in .svg format should be placed at \volontulo\apps\volontulo\frontend\icons\.
That will allow their usage in SCSS like so: @extend %asterisk-icon; as an element background.

Running the App in development mode

Choose the appriopriate settings file
Run server

python manage.py runserver --settings=volontulo_org.settings.dev

Now you able to access the development site: http://localhost:8000

Running tests

To run the project tests:

python manage.py test --settings=volontulo_org.settings.dev -v 3

Initial admin credentials

volontulo's People

Contributors

exorades avatar filipgorczynski avatar gitter-badger avatar gruszks avatar justine1 avatar krzysztofmadejski avatar magul avatar mkalinski avatar mkwiat79 avatar mpuhacz avatar msobas avatar radoslawroszkowiak avatar rszalski avatar tiriana avatar tomaszwozniak avatar yog avatar ziachu avatar

Watchers

 avatar  avatar  avatar  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.