cd
to projects folder then to get the project on your machine run
git clone https://github.com/kmanzana/entradaescalante.com.git
cd entradaescalante.com
Install RVM rvm.io/rvm/install
Make sure you are using the correct version of Ruby (see Gemfile:3
)
rvm install ruby-2.4.0 # for Ruby version 2.4.0
rvm --default use 2.4.0 # set this version as default and use it currently
Install bundler
gem install bundler
Install project gems
bundle install
middleman serve
middleman build
cd build
python -m SimpleHTTPServer
then open the server at localhost:8000
middleman s3_sync --environment=staging # use production for env to deploy to live site
once you're done it's best to delete the build
directory
rm -rf build