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.
- Ruby:
2.2.0
- rbEnv:
> 0.4.0
- Bundler:
> 1.7.13
(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
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
If you use Pow, you can use it as your Middleman server:
# Link application
powder link
powder restart
powder open