Skip to content

CraftAcademyLabs/website

 
 

Repository files navigation

Craft Academy Site

Build Status

This is a fork of the Makers Academy Site

Setting up the site locally

  • 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 just rspec

Deploying

  • 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.

Technologies used

Adding images

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.

Packages

No packages published

Languages

  • HTML 58.4%
  • CSS 28.9%
  • Ruby 10.2%
  • JavaScript 2.5%