Skip to content

Commit

Permalink
updated README, remove outdated files
Browse files Browse the repository at this point in the history
  • Loading branch information
andyli committed Feb 8, 2016
1 parent d1fa787 commit 6719774
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 184 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,5 +1,4 @@
# Compiled files
/bin/haxelib
*.exe
*.n
*.zip
Expand Down
24 changes: 21 additions & 3 deletions README.md
Expand Up @@ -63,13 +63,31 @@ cd haxelib
# Install all the libs
haxelib install newsite.hxml
# TODO: copy assets
# Compile the site
haxe legacysite.hxml
haxe newsite.hxml
# TODO: check the permissions, writeable directories etc.
# copy assets, remember to modify dbconfig.json
cp src/haxelib/server/.htaccess www/
cp src/haxelib/server/dbconfig.json.example www/dbconfig.json
cp src/legacyhaxelib/.htaccess www/legacy/
cp src/legacyhaxelib/website.mtt www/legacy/
cp src/legacyhaxelib/haxelib.css www/legacy/
# If the database (www/legacy/haxelib.db) doesn't exist, run "setup"
pushd www/legacy
neko index.n setup
popd
# Make sure the server folders and databases are writeable.
chmod a+w www
chmod a+w www/tmp
chmod a+w www/files
chmod a+w www/files/3.0
chmod a+w www/legacy
chmod a+w www/haxelib.db
chmod a+w www/legacy/haxelib.db
# Start the server
cd www
Expand Down
2 changes: 2 additions & 0 deletions bin/.gitignore
@@ -0,0 +1,2 @@
*
!.gitignore
Empty file removed bin/.gitkeep
Empty file.
49 changes: 0 additions & 49 deletions site.sh

This file was deleted.

131 changes: 0 additions & 131 deletions testing/PrepareServer.hx

This file was deleted.

0 comments on commit 6719774

Please sign in to comment.