Difference between revisions of "How to create a new BOARD18 download"
Jump to navigation
Jump to search
m |
(Complete rewrite) |
||
Line 1: | Line 1: | ||
These instructions assume that you already have a board18 development | These instructions assume that you already have a board18 development | ||
environment and access to the branch for which the download is to be created. | environment and access to the branch for which the download is to be created. | ||
'''<p style="color: Green">This procedure really needs to be automated. </p> | |||
The command lines below assumme that a zip file for board18-0.1.0 is being created. | |||
This string should be modified to the correct release in all of the listed commands. | |||
==Perform these steps on your development PC== | ==Perform these steps on your development PC== | ||
Line 9: | Line 12: | ||
* Enter on command line: | * Enter on command line: | ||
<pre> | <pre> | ||
rm ~/board18.zip | rm ~/board18-0.1.0.zip | ||
rm ~/ | rm -r ~/board18-0.1.0 | ||
mkdir ~/board18-0.1.0 | |||
mkdir ~/board18-0.1.0/webroot | |||
mkdir ~/board18-0.1.0/webroot/images | |||
mkdir ~/board18-0.1.0/utility | |||
cp -t ~/board18-0.1.0 Documentation/README.txt | |||
cp -t ~/board18-0.1.0 Documentation/LICENSE.txt | |||
cp -t ~/board18-0.1.0 Documentation/INSTALL.txt | |||
cp -t ~/board18-0.1.0 Documentation/ReleaseNotes.txt | |||
cp -t ~/board18-0.1.0/webroot *.html *.php | |||
cp -r -t ~/board18-0.1.0/webroot php scripts style | |||
cp -t ~/board18-0.1.0/webroot/images images/*.* | |||
cp -t ~/board18-0.1.0/utility utility/* | |||
</pre> | </pre> | ||
* cd to GAMEBOX directory. | * cd to GAMEBOX directory. | ||
Line 26: | Line 31: | ||
<pre> | <pre> | ||
cd boxes | cd boxes | ||
cp -r -t ~/board18-0.1.0/webroot images | |||
zip -r ~/ | cp -r -t ~/board18-0.1.0/utility control | ||
cd ~ | |||
zip -r ~/board18-0.1.0.zip board18-0.1.0 | |||
</pre> | </pre> | ||
* Using FTP, move the | * Using FTP, move the new zip file to the download server. | ||
== Setup the Download on the Server== | == Setup the Download on the Server== | ||
[[Category:HowTo]] | [[Category:HowTo]] |
Revision as of 10:18, 3 September 2013
These instructions assume that you already have a board18 development environment and access to the branch for which the download is to be created.
This procedure really needs to be automated.
The command lines below assumme that a zip file for board18-0.1.0 is being created. This string should be modified to the correct release in all of the listed commands.
Perform these steps on your development PC
- Checkout the branch for the required board18 release.
- Checkout the branch for the required gamebox release.
- Open a command line window.
- cd to the BOARD18 directory.
- Enter on command line:
rm ~/board18-0.1.0.zip rm -r ~/board18-0.1.0 mkdir ~/board18-0.1.0 mkdir ~/board18-0.1.0/webroot mkdir ~/board18-0.1.0/webroot/images mkdir ~/board18-0.1.0/utility cp -t ~/board18-0.1.0 Documentation/README.txt cp -t ~/board18-0.1.0 Documentation/LICENSE.txt cp -t ~/board18-0.1.0 Documentation/INSTALL.txt cp -t ~/board18-0.1.0 Documentation/ReleaseNotes.txt cp -t ~/board18-0.1.0/webroot *.html *.php cp -r -t ~/board18-0.1.0/webroot php scripts style cp -t ~/board18-0.1.0/webroot/images images/*.* cp -t ~/board18-0.1.0/utility utility/*
- cd to GAMEBOX directory.
- Enter on command line:
cd boxes cp -r -t ~/board18-0.1.0/webroot images cp -r -t ~/board18-0.1.0/utility control cd ~ zip -r ~/board18-0.1.0.zip board18-0.1.0
- Using FTP, move the new zip file to the download server.