h42n42 project for 42
  • OCaml 72.2%
  • Makefile 27.8%
Find a file
2023-07-17 17:37:15 +02:00
static various bug fixed and graphical improvements 2023-07-15 18:31:08 +02:00
.ocp-indent removed all the template stuff and left a blank hello world project 2023-06-06 01:29:06 +02:00
creet.eliom fixed a math error that coud allow creets to move at a 90 degree angle 2023-07-17 17:37:15 +02:00
game.eliom various bug fixed and graphical improvements 2023-07-15 18:31:08 +02:00
h42n42.conf.in removed all the template stuff and left a blank hello world project 2023-06-06 01:29:06 +02:00
h42n42.eliom various bug fixed and graphical improvements 2023-07-15 18:31:08 +02:00
Makefile removed all the template stuff and left a blank hello world project 2023-06-06 01:29:06 +02:00
Makefile.options removed all the template stuff and left a blank hello world project 2023-06-06 01:29:06 +02:00
quadtree.eliom implemented quadtree based collision detection 2023-07-05 23:14:09 +02:00
README removed all the template stuff and left a blank hello world project 2023-06-06 01:29:06 +02:00
values.eliom added mean creet behavior 2023-07-07 21:46:37 +02:00

Instructions
============

This project is (initially) generated by eliom-distillery as the basic
project "h42n42".

Generally, you can compile it and run ocsigenserver on it by
  $ make test.byte (or test.opt)
See below for other useful targets for make.

Generated files
---------------

The following files in this directory have been generated by
eliom-distillery:

 - h42n42.eliom
   This is your initial source file.

 - static/
   The content of this folder is statically served. Put your CSS or
   additional JavaScript files here!

 - Makefile.options
   Configure your project here!

 - h42n42.conf.in
   This file is a template for the configuration file for
   ocsigenserver. You will rarely have to edit itself - it takes its
   variables from the Makefile.options. This way, the installation
   rules and the configuration files are synchronized with respect to
   the different folders.

 - Makefile
   This contains all rules necessary to build, test, and run your
   Eliom application. You better don't touch it ;) See below for the
   relevant targets.

 - local/
   This directory is the target of the temporary installation of
   your application, to test locally before doing a system-wide
   installation in /. Do not put anything manually here.

 - README
   Not completely describable here.


Makefile targets
----------------

Here's some help on how to work with this basic distillery project:

 - Test your application by compiling it and running ocsigenserver locally
     $ make test.byte (or test.opt)

 - Compile it only
     $ make all (or byte or opt)

 - Deploy your project on your system
     $ sudo make install (or install.byte or install.opt)

 - Run the server on the deployed project
     $ sudo make run.byte (or run.opt)

   If WWWUSER in the Makefile.options is you, you don't need the
   `sudo'. If Eliom isn't installed globally, however, you need to
   re-export some environment variables to make this work:
     $ sudo PATH=$PATH OCAMLPATH=$OCAMLPATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH make run.byte/run.opt

 - If you need a findlib package in your project, add it to the
   variables SERVER_PACKAGES and/or CLIENT_PACKAGES. The configuration
   file will be automatically updated.