We’ve rebuilt Dev.Opera as a static site, powered by Jekyll, Sass, and Gulp. In this repository, you find all the source files and content to build the site, make improvements, and submit new articles.
gem install bundler
on the command line.git clone git@github.com:operasoftware/devopera.git
and cd
into the devopera
folder.bundle install
.npm install
inside the devopera
folder.npm install gulp -g
to install Gulp globally.Please install the EditorConfig plugin for your editor to keep code style declared in the .editorconfig
file.
If you’ve set up all the above at some point in the past, and want to update your installation, these are the steps to follow:
gem update
to install the latest Ruby gems.npm install
inside the devopera
folder.To start developing Dev.Opera run gulp
, it would take up to 1 minute to:
http://0.0.0.0:33310
address.watch
task for all files.So now every time you change project files, Dev.Opera will be rebuilt and your browser will update. For HTML and Markdown files it will still take up to 1 minute, for CSS it will be much faster (please request the same fast track for JS or anything else if needed).
To build a complete Dev.Opera, run gulp build
: it will take a while to build the full site with all posts included in the _site
folder. To deploy (sync build with remote server), run gulp deploy
.
sudo
, space and command if needed.