Giter Site home page Giter Site logo

haxe.org's Introduction

haxe.org

This is the code base for the http://haxe.org website.

Contributing Content

On the website there is a "Contribute" link on the footer of each page. Clicking this link will take you to the relevant file in this repository, or the relevant file in the HaxeManual repository.

You can then edit using Github's online file editor, and submit a pull request. You can also fork the repo and edit on your local machine with your preferred text editor, which may be easier for large integrations.

Issues, bugs and suggestions

If you find a bug, have an issue, suggestion, or want to contribute in some other way, please use the Github Issue Tracker.

Any bugs we will attempt to address promptly. New content or subjective issues (colours, fonts, marketing material etc) will be considered on a case by case basis.

If you are a designer and want to help freshen up the look of the site, please contact [email protected] or [email protected]. We'd love your input!

Contributing CSS

Currently the css for the site is in www/css/style.css.

We plan to switch back to using HSS at some point in the future to make this easier to maintain.

We currently use the bootstrap 2.3.2 CSS library and the Font Awesome 4.1.0 icon library.

Structure

  • The code is in src/. It uses the ufront library and is structured in an MVC pattern.
  • The static assets are in www/, and the JS and neko compiles and runs from here also.
  • The website-generated content is in uf-content.

Running a local copy

  1. git clone --recursive https://github.com/HaxeFoundation/haxe.org.git haxeorg
  2. cd haxeorg
  3. haxelib install all - this will install all dependencies. Please note this may take a while.
  4. haxelib install ufront; haxelib run ufront --setup - setup the "ufront" alias so you don't have to run haxelib run ufront
  5. haxelib dev minject submodules/minject/src/ - use dev version of minject, until 2.0.0 is released.
  6. haxelib dev ufront-mvc submodules/ufront-mvc/ - use dev version of ufront-mvc, until minject:2.0.0 is released.
  7. haxelib dev ufront-uftasks submodules/ufront-uftasks/ - use dev version of ufront-uftasks, until minject:2.0.0 is released.
  8. mkdir dox - this folder needs to exist for our documentation to compile.
  9. ufront build - builds all hxml files, alternatively, run haxe server.hxml; haxe client.hxml;
  10. Create a "uf-content" directory, make sure it is writeable by the web server.
  11. ufront server - start a "nekotools" server in the www directory.
  12. Visit http://localhost:2987/update/manual/ to prepare the manual content.
  13. Visit http://localhost:2987/update/site/ to prepare some site content.

Please note, Haxe 3.1.3 will render some markdown pages incorrectly. Using a development version of Haxe 3.2 is a workaround for this issue.

These instructions were written on Linux (Ubuntu 14.04), if problems are encountered on other platforms please file an issue so it can be resolved.

Deploying updates

  • Any push or merge to the HaxeManual repository will trigger an update of the manual on "haxe.org". (We follow the master branch).
  • Running ufront deploy (or just ufront d) will compile all files and push them to the haxe.org server. You will need your SSH keys added to the server for this to work. If you added or modified any download content you will need to visit /update/site/ to trigger some further upgrades.
  • We plan to have changes to this repository also trigger automatic updates, but this is not ready just yet, so there may be a delay between pull requests being merged and them being visible on the live site.

haxe.org's People

Contributors

13pass avatar andyli avatar as3boyan avatar brandondrew avatar bubblebenj avatar cambiata avatar confidantcommunications avatar dagnelies avatar elsassph avatar frabbit avatar fullofcaffeine avatar gama11 avatar georgkoester avatar hasufel avatar impaler avatar jasononeil avatar jens-g avatar joshcheek avatar kamalmarhubi avatar korinvr avatar markknol avatar nadako avatar nbraud avatar ncannasse avatar nicom1 avatar shoozza avatar simn avatar skial avatar smn avatar vizanto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.