Skip to content

Commit

Permalink
Adds html/cssl for the webapp.
Browse files Browse the repository at this point in the history
  • Loading branch information
alsuhr committed Feb 18, 2020
1 parent 67bc361 commit e9d6456
Show file tree
Hide file tree
Showing 62 changed files with 58,894 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ agent/experiments/
*.swp

# Game things
webapp/static/
webapp/static/Release
mturk/worker_ids.txt

# From Github's gitignore
Expand Down
4 changes: 0 additions & 4 deletions game/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ files (e.g., settings) are included in this directory.
1. Open the scene:
* `File > Open Scene`
* Open `game/Assets/Scenes/Game.unity`
1. Change to using .NET 4.x (if not already using).
* `File > Build Settings > Player Settings...`
* Under `Configuration`, set `Scripting Runtime Version` to `.NET 4.x Equivalent`
* This will require restarting the Unity editor.


# Building the game
Expand Down
6 changes: 5 additions & 1 deletion webapp/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Starting and testing the server

1. Build the WebGL version of the game (see `game/` for instructions). Name it `Release`. The binary should go in
`webapp/static/`.
a directory ou create called `webapp/static/`.

1. Ensure you have a worker ID file. For testing purposes, you can create an empty file by doing `touch
mturk/worker_ids.txt`.

1. Create a virtual environment with the requirements listed in `requirements.txt`.

1. Initialize the game database.

`python -m webapp.init_db mturk/worker_ids.txt`
Expand Down
Loading

0 comments on commit e9d6456

Please sign in to comment.