codeforjapan / socialhackday

Social Hack Day Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SocialHackDay

CircleCI

This is a source code for the front end web service of SocialHackDay

Features

Requirements

Setup

Please see SETUP.md If you use Docker, please see README.docker.md

Environments

There are two types of way to see the HTML.

  1. server mode If you run bundle exec middleman server at root, you will see compiled HTML files in your browser. It will track source modifications and reload the browser automatically.

  2. build mode If you run bundle exec middleman build at root, you will find compiled HTML files in ./build directory.

DataSource

Please edit this sheet

Deployment

Updating master branch will automatically deploy them to the production server.

Do not directly commit to those branches. Use pull requests

see DEPLOY.md for more details

Development

(1) SETUP environment (2) Create new branch (3) Modify sources in the source directory.

directory structure

Directories Usage
Gemfile gems
Gemfile.lock gems' version
bin setup comannd
build html files will be created after build
config.rb middleman setting
data data folder for middleman
environments settings for environments
gulpfile.js used in build phase
helpers middleman helpers
lib libraries copied from Unify theme
node_modules will be created by node install
package.json node modules
package-lock.json node modules' versions
source source folder
spec middleman spec (don't use)
vendor will be created after bundle install

(4) Run bundle exec middleman start Check changes via launched browser.

(5) Commit and push the branch to this repository.

(6) Send a pull request.

About

Social Hack Day Website

License:MIT License


Languages

Language:Nunjucks 84.6%Language:CSS 10.4%Language:SCSS 3.5%Language:JavaScript 0.6%Language:Haml 0.4%Language:Less 0.3%Language:PHP 0.1%Language:Ruby 0.1%Language:Dockerfile 0.0%Language:Shell 0.0%