Haxelib
For documentation, please refer to haxe.org
Running the website for development
(Work in progress instructions, 2015-02-27)
# Initial checkout
git clone https://github.com/jasononeil/haxelib.git
git checkout feature/newsite
# Install all the libs
haxelib install newsite.hxml
haxelib git ufront-mvc https://github.com/ufront/ufront-mvc.git
# Create directories
mkdir www
mkdir www/legacy
mkdir www/api/
mkdir www/api/3.0
mkdir www/files/
mkdir www/files/3.0
# TODO: copy assets
# Compile the site
haxe site.hxml
haxe newsite.hxml
# Set up the test database
cd www
neko old.n setup
# TODO: check the permissions, writeable directories etc.
# Start the server
nekotools server -rewrite
About this repo
Build files:
- haxelib.hxml: Build the current haxelib tool from src/tools/haxelib/Main
- legacyhaxelib.hxml: Build the haxelib tool that works with Haxe 2.x
- prepare.hxml: Build a tool to prepare the server (I think)
- site.hxml: Build the old website, the legacy website, and the Haxe remoting API.
- newsite.hxml: Build the new website, the new site unit tests, and the Haxe remoting API. (Also runs the unit tests).
- test.hxml: Build the automated tests.
Folders:
- /src/: Source code for the haxelib tool and the website, including legacy versions.
- /bin/: The compile target for building the haxelib tool, legacy tool, and site preparation tool.
- /www/: The compile target (and supporting files) for the haxelib website (including legacy site and API)
- /test/: Unit test source code for running on Travis.
- /testing/: A setup for manually testing a complete setup.
- /package/: Files that are used for bundling the haxelib_client zip file.