-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-- WIP -- feat: game initialisation from the application
TODO: documentation !!!! With this feature, the admin can initialise (or re-initialise) the game.
- Loading branch information
1 parent
2689583
commit d1da37d
Showing
5 changed files
with
549 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,9 @@ The package can also be installed after cloning the git repository: | |
git clone [email protected]:timflutre/PlantBreedGame.git | ||
``` | ||
|
||
TODO: The game can now be initialised within the application | ||
|
||
|
||
2. Then, enter into the `PlantBreedGame` directory; inside, run the script `plantbreedgame_setup.Rmd` using [Rmarkdown](http://rmarkdown.rstudio.com/) to simulate the initial data set, this can be done with the command: | ||
|
||
```sh | ||
|
@@ -101,8 +104,11 @@ and copy inside the content of our Shiny application you just downloaded: | |
cp -r ~/PlantBreedGame-master/* /srv/shiny-server/breeding-game | ||
``` | ||
|
||
**TODO**: The game can now be initialised within the application | ||
|
||
Generate the game data with: | ||
|
||
|
||
```sh | ||
R -e "rmarkdown::render('/srv/shiny-server/breeding-game/plantbreedgame_setup.Rmd')" | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.