Difference between revisions of "Project/Instructions"
From C3LearningLabs
Line 35: | Line 35: | ||
== Import files to Wiki == | == Import files to Wiki == | ||
+ | |||
+ | |||
+ | ;Copy Images to server | ||
+ | :C3Sys::Copy images to, /opt/docker/mediawiki/c3sys/html/w/newimages/ | ||
+ | |||
+ | ;Copy to docker image | ||
+ | :C3Sys: <code>sudo docker cp /opt/docker/mediawiki/c3sys/html/w/newimages/ mediawiki_c3sys:/var/www/html/w/</code> | ||
+ | |||
+ | ;Run Script in docker image | ||
+ | :C3Sys: <code>docker exec -it mediawiki_c3sys /bin/bash</code> | ||
+ | :<code>php maintenance/importImages.php /var/www/html/w/newimages --overwrite --user="Rego Granlund"</code> | ||
+ | |||
+ | :Remove images in newimages folder, run in container | ||
+ | :<code>rm /var/www/html/w/newimages/*</code> |
Revision as of 11:13, 22 August 2021
- Year YYYY
- Example
- 2017-<NAME>
- Example:
2017-SweCanTeam-1
Files
- Images should be stored in folder
- ...\MediaWiki\Sync\Images\C3LL\Research\Projects\<PROJECT-NAME>
- Download files should be stored in folder :
- ...\MediaWiki\SyncNo\download\doc\projects\<PROJECT-NAME>
Documentations
Create Images and Video
- UI images, max fire image, max fire video
- Start manager, and all players.
- Start session and pause directly when fire is viewed.
- Take picture of manager and all players, name xxx-ui-manage, xxx-ui-player-name .
- Copy the UI images to ...\Info\Images\UI\
- Take picture of manager map, name xxx-map.
- Copy the map images to \Info\Images\Map\
- Start the session and let run to the end.
- Take max fire development picture, name xxx-maxfire
- Copy the max fire development images to \Info\Images\MaxFire\
- Copy the log folder to \Info\LogFiles\MaxFire\SESSION-NAME\
- YOU SHOULD COPY THE WHOLE SESSION LOG FOLDER, FOR THE SPECIFIC SESSION !!!
- Record video of max fire development replay, name xxx-maxfire-replay
- Copy the video file to \Info\Video\MaxFire\
Import files to Wiki
- Copy Images to server
- C3Sys::Copy images to, /opt/docker/mediawiki/c3sys/html/w/newimages/
- Copy to docker image
- C3Sys:
sudo docker cp /opt/docker/mediawiki/c3sys/html/w/newimages/ mediawiki_c3sys:/var/www/html/w/
- Run Script in docker image
- C3Sys:
docker exec -it mediawiki_c3sys /bin/bash
php maintenance/importImages.php /var/www/html/w/newimages --overwrite --user="Rego Granlund"
- Remove images in newimages folder, run in container
rm /var/www/html/w/newimages/*