README.md
MISP Website
This is the repository of MISP website. The current online version of this portal can be found at misp-project.org.
Compiling a local version of the website
The MISP website is based on Jekyll, a static site generator. If you plan on contributing major changes to the website, it is important to have a local version, so as to test your changes.
To compile a local version of the website, run the following commands in a terminal:
-
Install all Jekyll and its prerequisites, including the bundler gems.
-
Clone the misp-website repository
git clone https://github.com/MISP/misp-website.git
-
Change into your new directory
cd misp-website
-
Install missing gems:
bundle install
-
Build the site and make it available on a local server.
bundle exec jekyll serve --watch
Only include the
--watch
flag if you want Jekyll to watch for changes to the website’s files, such as you writing and saving a new blog post or webpage, and to include these changes on refreshing your web browser. -
To preview your site in your web browser, navigate to http://localhost:4000.
How to deploy the MISP website
rake2.0 -f Rakefile generate
rake2.0 -f Rakefile publish