Changes between Version 41 and Version 42 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Oct 30, 2024, 11:03:17 AM (7 months ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v41 v42  
    235235ssh <xlogin>@aurora.fi.muni.cz
    236236}}}
    237   * make a ssh key (again replace `<xlogin>` with your login):
    238     {{{
    239 ssh-keygen -m PEM -t ecdsa -N '' -f ~/.ssh/pepper_<xlogin>
     237  * make a ssh key (again replace `<xlogin>` with your login, we may use `$LOGNAME` here):
     238    {{{
     239ssh-keygen -m PEM -t ecdsa -N '' -f ~/.ssh/pepper_$LOGNAME
    240240}}}
    241241  * copy your '''public''' key to the course directory:
    242242    {{{
    243 cp ~/.ssh/pepper_<xlogin>.pub /nlp/projekty/pepper/course/keys/
    244 }}}
    245   * add host `karel` to your `$HOME/.ssh/config`:
     243cp ~/.ssh/pepper_$LOGNAME.pub /nlp/projekty/pepper/course/keys/
     244}}}
     245  * add host `karel` to your `$HOME/.ssh/config` (replace `<xlogin>` manually):
    246246    {{{
    247247Host karel
     
    304304cp -r /nlp/projekty/pepper/course/template $HOME/pepper/
    305305}}}
    306   * rename the `template` to `template_<xlogin>` (replace `<xlogin>` with your login) or something else:
    307     {{{
    308 mv $HOME/pepper/template $HOME/pepper/template_<xlogin>
    309 cd $HOME/pepper/template_<xlogin>
     306  * rename the `template` to `template_<xlogin>` (replace `<xlogin>` with your login, e.g. with `$LOGNAME`) or something else:
     307    {{{
     308mv $HOME/pepper/template $HOME/pepper/template_$LOGNAME
     309cd $HOME/pepper/template_$LOGNAME
    310310}}}
    311311  * go through all files, rename the application where necessary
     312    {{{
     313mv template.pml template_$LOGNAME.pml
     314mv dlg_template/dlg_template_czc.top dlg_template/dlg_template_$LOGNAME_czc.top
     315mv dlg_template/dlg_template.dlg dlg_template/dlg_template_$LOGNAME.dlg
     316mv dlg_template/dlg_template_enu.top dlg_template/dlg_template_$LOGNAME_enu.top
     317mv dlg_template dlg_template_$LOGNAME
     318}}}
     319    edit `manifest.xml`, `template_$LOGNAME.pml` and files in `dlg_template_$LOGNAME/` and fix the names where necessary
    312320  * build the PKG package (the version number will be increased):
    313321    {{{
    314 cd $HOME/pepper/template_<xlogin>
     322cd $HOME/pepper/template_$LOGNAME
    315323make pkg
    316324}}}
    317325  * and install it
    318326    {{{
    319 cd $HOME/pepper/template_<xlogin>
     327cd $HOME/pepper/template_$LOGNAME
    320328make install
    321329}}}
     
    330338    {{{
    331339cp -r /nlp/projekty/pepper/course/template-service $HOME/pepper/
    332 mv $HOME/pepper/template-service $HOME/pepper/template-service_<xlogin>
    333 cd $HOME/pepper/template-service_<xlogin>
     340mv $HOME/pepper/template-service $HOME/pepper/template-service_$LOGNAME
     341cd $HOME/pepper/template-service_$LOGNAME
    334342}}}
    335343  * go through all files, rename the application where necessary