Stage C < Installation < Viivi's Cell < Entrance


Viivi Installation Stage C

Here the Viivi installation process of Stage C is summarized briefly.
If you are familiar with the system, or if you like simple explanation, please follow the items on this page.
If you do not know what to do with the simple explanation, please follow the detailed instructions in the link for each item.

Separate the Working Directory

We create a working directory different from the Viivi system directory, and make it possible to use Viivi in the working directory using the magic of the environmental variables.
When this installation process completed, you can use Viivi similarly not only in the working directory, but also everywhere you want.
  1. Create a Working Directory for Viivi
    Create a working directory, where you will usually use Viivi, in your home directory.

    The name is arbitrary, but here we assume it to be ${HOME}/vwrk/.
    If you like a different name, replace all the name ${HOME}/vwrk/ appearing below with your favorite one.

  2. Setting Viivi Environment Variables
    In order to make it possible to boot Viivi from outside of the Viivi system directory ${HOME}/Viivi/, set as

  3. Run Viivi (Stage C)
    If you have done it correctly so far, you can boot up Viivi in the working directory, without the path for the Viivi boot-up file.
    Let's try it.

    In the terminal/CMD window, change the directory to the working directory (created at 1.).
    (The home directory on Windows platform is assumed here as C:\Users\ilma\.)
    	$ cd ${HOME}/vwrk/⮠			for Unix-like platforms (sh system) ($ is the shell prompt)
    	% cd ${HOME}/vwrk/⮠			for Unix-like platforms (csh system) (% is the shell prompt)
    	> cd C:\Users\ilma\vwrk\		for Windows platforms (> is the cmd prompt)
    
    Now try to run the boot-up file without the path specifier and with an argument-command "-K" as
    	$ viivi -K⮠		for Unix-like platforms (sh system) ($ is the shell prompt)
    	% viivi -K⮠		for Unix-like platforms (csh system) (% is the shell prompt)
    	> viivi -K⮠		for Windows platforms (> is the cmd prompt)
    
    If you see the Viivi's prompt
    	> 
    at the end of the output, then the installation process at Stage C was successful.

  4. As we did in Stages A and B, try to input 30 and (exit) to see the same results.

In the above check, we provided the argument command "-K" to boot Viivi in the kernel-mode.
You can boot Viivi also in the IDE-mode with the argument command "-G" as

	$ viivi -G⮠		for Unix-like platforms (sh system) ($ is the shell prompt)
	% viivi -G⮠		for Unix-like platforms (csh system) (% is the shell prompt)
	> viivi -G⮠		for Windows platforms (> is the cmd prompt)
To quit the IDE, please choose from the "File" menu on the controller to the item "exit Viivi".
(The basic operating instructions are briefly summarized in a Simple Tutorial.)


If you succeeded in the installation Stage C here, you can continue to use Viivi in this style.
But it must be annoying that you see the title output every-time you boot Viivi.
In the next Stage D, we will make Viivi boot without showing the title, by editing a local configuration file of Viivi.


Do you have a problem here?
Please refer to Troubled at Stage C.



Stage C < Installation < Viivi's Cell < Entrance


Contact

Exhibited on 2022/03/02
Updated on 2022/03/15
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.