Rails Template to create a Ready to use cloud CMS.
- RailsAdmin
- Patches for RailsAdmin to fix some bugs and add some useful features
- Mongoid
- Devise
- Ckeditor
- Cloudinary
- Mandril
- MongoLab
| #!/bin/bash | |
| # Set-up di un server LAMP + Sendmail + Git + wp-cli + wp-new + Server ftp | |
| # =============================== | |
| # = Installazione dei pacchetti = | |
| # =============================== | |
| apt-get update | |
| apt-get purge apache2 mysql-server php5 libapache2-mod-php5 php-pear php5-xcache php5-mysql php5-suhosin php5-gd git-core sendmail vsftpd |
| namespace :remote do | |
| task :info do | |
| require 'remoting/task' | |
| remote('info', config.login) do | |
| source "/usr/local/rvm/scripts/rvm" | |
| which :ruby | |
| echo "RUBY VERSION: `ruby --version`" | |
| echo "RUBYGEM VERSION: `gem --version`" |
| namespace :assets do | |
| task :compile => :environment do | |
| require 'sprockets' | |
| # workaround used also by native assets:precompile:all to load sprockets hooks | |
| _ = ActionView::Base | |
| # ============================================== | |
| # = Read configuration from Rails / assets.yml = | |
| # ============================================== |
| Coffeebuild = require("../Coffeebuild/src/coffeebuild") | |
| PegSH = require("../PegSH/src/pegsh") | |
| ### | |
| Build the site | |
| ### | |
| task 'build', 'Build site', -> | |
Rails Template to create a Ready to use cloud CMS.
Core UI Functionalities are those any HTML UI built on Angular could use. They are not Mobile-specific nor depending on anything else that Angular itself, and you could use them with any css framework.
They are the same that 1.1 beside to be prefixed with ui- so use: ui-yield-to and ui-content-for.
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines | |
| [*] | |
| end_of_line = lf | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 2 |
| { | |
| "preset": "google", | |
| "esnext": true, | |
| "maximumLineLength": { | |
| "value": 160, | |
| "allExcept": ["comments", "regex"] | |
| }, | |
| "excludeFiles": [ | |
| "node_modules/**", | |
| "bower_components/**", |
| 'use strict'; | |
| let winston = require('winston'); | |
| // | |
| // Test with json format | |
| // | |
| let logger = new winston.Logger({ | |
| transports: [ |
| var os = require("os"); | |
| var ifaces = os.networkInterfaces(); | |
| var myIfaces = {}; | |
| Object.keys(ifaces).forEach(function (ifname) { | |
| var alias = 0; | |
| ifaces[ifname].forEach(function (iface) { | |
| if ('IPv4' !== iface.family || iface.internal !== false) { | |
| // skip over internal (i.e. 127.0.0.1) and non-ipv4 addresses |