RoboticsBrno / mickoflus.cz

🏀 Web page for Míčkoflus
https://mickoflus.robotickytabor.cz/
0 stars 0 forks source link
balls esp32 mickoflus play playwood

Mickoflus

Web page for Míčkoflus - https://mickoflus.robotickytabor.cz/

How to make image previews on a local computer

The website uses gulp to generate miniatures for images. Therefore when you clone the repo, there will be no previews. To fix it, just call gulp build. The first execution can take up to 10 minutes to complete.

Note: Gulp is also used to deploy the website. This step is automated using travis a therefore is not needed to be executed manually.

For Windows users

The (probably) easiest way to run gulp is to use Windows Subsystem for Linux.

Then execute these commands in terminal:

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install npm
cd WORKING_DIR_WITH_THIS_PROJECT
npm install
gulp build

It could be also necessary install gulp separately:

sudo npm install -g gulp