Difference between revisions of "Windows 10 PKC Installation"

From PKC
Jump to navigation Jump to search
BenKoo>Benkoo
BenKoo>Benkoo
Line 20: Line 20:
C:\Users\userName\Workspace\PKC$up.sh
C:\Users\userName\Workspace\PKC$up.sh
</pre>
</pre>
#After you submitted the <code>up.sh</code> in your command line interface, you will be asked for a password, type in the root password for the machine you are trying to install.
#After you submitted the <code>up.sh</code> in your command prompt, you will need to launch one more command to make [[MW:Semantic MediaWiki|Semantic MediaWiki]] work properly.
 
Copy and paste the following command to your command prompt.
<pre>
C:\Users\userName\Workspace$ docker exec pkc_mediawiki_1 php /var/www/html/maintenance/update.php
</pre>
 
#Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
#Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
#If you plan to set up [[https]] for your [[PKC]], please refer to the page:[[Nginx as Reverse Proxy]].

Revision as of 04:51, 30 April 2021

For Windows 10, you need to use Command Prompt.

Download Software to your local machine

C:\Users\userName\Workspace$

Download the entire package using git. You may copy the instruction as follows:

C:\Users\userName\Workspace$ git clone https://github.com/benkoo/PKC.git

Kick off the microservice launch process

  1. After the git clone instruction copied relevant data to your working directory, using the command cd to the PKC directory that contains the script up.sh, and type: up.sh to execute the script. Note that the script command must be up.sh, not ./up.sh.
C:\Users\userName\Workspace$ cd PKC
C:\Users\userName\Workspace\PKC$up.sh
  1. After you submitted the up.sh in your command prompt, you will need to launch one more command to make Semantic MediaWiki work properly.

Copy and paste the following command to your command prompt.

C:\Users\userName\Workspace$ docker exec pkc_mediawiki_1 php /var/www/html/maintenance/update.php
  1. Open a browser: type the following URL to the browser's URL field: http://localhost:9352.