2017-09-15 18:39:40 -07:00
2017-09-15 18:39:40 -07:00
2017-09-12 12:25:27 -07:00

Godot Website

Theme and plugins used in Godot Engine's OctoberCMS instance

Getting a local version running:

Dependencies

  • php (php5 is what we use on live)
  • Some database (mysql)
  • Node (for the theme)
  • OctoberCMS

Installing October and the Godot theme & plugins

  • Download and install OctoberCMS. Note: PHP has a builtin dev server. Example: php -S localhost:8080 will host a server in the current directory
  • If you have trouble with the installer, try to clone the repos instead. a composer install and then editing config/database.php with your database credentials should get it up and running.
  • Once installed, clone this repos into your OctoberCMS directory (you'll have to clone into an empty directory and then move it into the october directory).
  • You may have some errors at this point, they are most likely due to some plugins (we're still working on the best way to set up a local environment that is suitable for testing).

Setting up the theme

  • Login into the October backend and change the frontend theme from the settings tab.
  • You may need to install the October Patreon plugin.
  • Examining the frontpage you'll notice that nothing is styled, that's because we need to generate the css from our scss. Make sure you have node installed. The excellent nvm is recommended.
  • cd into ./themes/godotengine
  • Run yarn install or npm install
  • Run yarn build
  • You should now have approximately what's on live. The only missing pieces are everything that's stored in the live database (devblog entries and featured games).

Deploying your changes

Deploying is of course only possible to people who have access to our live server, if you made some changes submit a pr

  • Copy example_conf.json: cp example_conf.json conf.json
  • Fill out your credentials in conf.json
  • Run yarn deploy.

This will copy all the compiled assets from the ./godotengine/assets/packed directory to the corresponding directory on live. It'll also make sure that group permissions are still set to write for the copied assets. Make sure you've thoroughly tested your changes on your local copy before running this.

Resources

  • Join on freenode: #godotengine-atelier
  • When working on the theme, take note of the website stats
Description
The code for the official Godot Engine website. A static site built using Jekyll.
Readme 1.8 GiB
Languages
HTML 43.3%
JavaScript 33.6%
SCSS 16.3%
CSS 3.8%
Ruby 2.6%
Other 0.4%