Skip to content

Commit

Permalink
Migrate over to Nginx FastCGI
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorNicollet committed Jan 8, 2013
1 parent a2e40be commit 147fd11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ all:
ohm build # Build the ocaml code found in '/ocaml', generates '/ocaml/main.byte'

# Copy the server binary over to the correct path
ohm publish ocaml/main.byte /server.real
chmod a+x www/server.real
cp ocaml/main.byte server
chmod a+x server

# Publish the entire "/public" directory
ohm publish
# Publish all public elements
ohm publish

# Perform the deployment
www/server.real --put
www/server.real --reset
./server --put
./server --reset

clean:
ohm clean
ohm clean
2 changes: 1 addition & 1 deletion bot/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
cd ..
www/server.real --bot
./server --bot
2 changes: 1 addition & 1 deletion ocaml/_tags
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<*> or <**/*>: package(camlp4), syntax(camlp4o), custom-pp, package(curl), package(netcgi2), package(netclient), package(batteries), package(sha), package(netstring), package(xmlm)
<*> or <**/*>: package(camlp4), syntax(camlp4o), custom-pp, package(curl), package(netcgi2), package(netclient), package(batteries), package(sha), package(netstring)
<*>: include
<gen>: include
<plugins/*>: include

0 comments on commit 147fd11

Please sign in to comment.