This is a fork of the Makers Academy Site
- Clone the repo
- Run
bundle
to install gems - Create a .env file - you can copy the .env.example file provided as an example to get you started
- Start the server with
middleman s
- Go to http://localhost:4567 to view the site in your browser
You'll need to run tests using
bundle exec rspec
rather than justrspec
- Make sure you have submitted a pull request and had it approved.
- Merge the pull request into master
- Once our CI server has passed the tests, it will automatically deploy to the server by running the
middleman deploy
command provided by the middleman-deploy extension. This builds a Middleman site and pushes the built site via rsync to the production path on the server.
- Ruby as our server side language
- JavaScript/jQuery for client side scripts
- Middleman for compiling our code into a static website
- RSpec for testing
- Sass to help write our CSS
- Bourbon/Neat/Bitters as a framework for our CSS
Our images are stored on the craft academy assets GitHub repo - we've split them out to a seperate repository to keep the size of this repository down. All assets from that repository can be accessed from https://assets.craftacademy.se.
When adding a new image, add it to the images directory of the craft academy assets GitHub repo, and make sure that the image has been compressed using image optim and are good quality images that fit the look and feel of the site.