Skip to content

herocodersmx/devgile_com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For this website, we are using Middleman, which is:

a static site generator using all the shortcuts and tools in modern web development.

If you want to read more information visit the Middleman docs.

Requirements

  • Ruby: 2.2.0
  • rbEnv: > 0.4.0
  • Bundler: > 1.7.13

Instructions:

(you can Copy & Paste the following code in your Terminal)

# Clone project from GitHub
git clone [email protected]:devgile/devgile_com.git ./devgile
cd devgile

# Install Bundler
gem install bundler --no-ri --no-rdoc
rbenv rehash

#Create `.env` file and set or modify the environment variables. Using  `.env.example`
cp .env.example .env

# Start Middleman server
middleman server

# By default, the server runs with port "4567", open it in your browser:
open http://localhost:4567

Generate Static website

After all the changes, you will need to export your website as Static pages.

Execute this in your Terminal:

middleman build

This will generate all the static files in the build directory, ready to be used

Using Pow as your web server

If you use Pow, you can use it as your Middleman server:

# Link application
powder link
powder restart
powder open