CommonsDev/projects-front-end

Name: projects-front-end

Owner: Commons Dev Squad

Description: Front-end for projects platforms

Created: 2015-03-03 09:33:39.0

Updated: 2016-11-08 21:09:39.0

Pushed: 2016-11-08 21:09:37.0

Homepage:

Size: 16800

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Project platform HTML FrontEnd

A Projet front-end companion for the Data Server.

Requirements

Installation

sudo aptitude install ruby-compass ruby-fssm coffeescript

git clone https://github.com/UnissonCo/projects-front-end.git

cd js/src

nano config.coffee

If using localhost:8002 as a dataserver, use this configuration (default configuration) :
bucket_uri: 'http://localhost:8002/bucket/upload/',
loginBaseUrl: 'http://localhost:8002/api/v0', # This can be different from rest_uri
oauthBaseUrl: 'Ajouter ici l'url de votre site', #path to oauth.html
oauthCliendId: 'Ajouter ici l'ID d'authentification google',
media_uri: 'http://localhost:8002',
rest_uri: "http://localhost:8002/api/v0",
dataserver_url: "http://localhost:8002"

./coffee_watch.sh

cd ..

cd ..

cd css

compass w

cd ..

npm install

node_modules/.bin/bower install

python -m SimpleHTTPServer 8080

Personnaliation

Vous pouvez personnaliser votre installation avec le fichier config.coffee (à regénérer après chaque modification):

projectSheetTemplateSlug: 'accompagnement',
# Pour proposer un autre modèle de questions sur les fiches projets

defaultSiteTags: [],  # comma-separated list of site tags
# Pour choisir un tag par défaut qui filtrera tout le site selon ce tag

editorialSuggestedTags : ['tag1', 'tag2'],
# List of tags suggested instead of most popular ones

defaultResultLimit : 25,
# nb of results loaded by default in projects list page

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.