Difference between revisions of "Windows 10 PKC Installation"
Jump to navigation
Jump to search
BenKoo>Benkoo |
BenKoo>Benkoo |
||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
#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. | #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. | ||
#Depends on your network connection, this process will download at least 5GB of data content, so that it will take a while. | |||
Copy and paste the following command to your command prompt. | Copy and paste the following command to your command prompt. | ||
Line 26: | Line 27: | ||
docker exec pkc_mediawiki_1 php /var/www/html/maintenance/update.php | docker exec pkc_mediawiki_1 php /var/www/html/maintenance/update.php | ||
</pre> | </pre> | ||
#It will first wait for 5 seconds before updating content in the database, so that the whole process will take up to a minute to finish. | |||
#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. |
Revision as of 05:20, 30 April 2021
For Windows 10, you need to use Command Prompt.
Download PKC to your local machine
Once you had Git and Docker installed on your Windows 10 machine, you may launch Command Prompt and see the following prompt:
C:\Users\userName\Workspace>
Download the entire package using the git
command. You may copy the instruction (after the >
sign) as follows:
C:\Users\userName\Workspace>git clone https://github.com/benkoo/PKC.git
Kick off the microservice launch process
- After the
git clone
instruction copied relevant data to your working directory, using the commandcd
to the PKC directory that contains the scriptup.sh
, and type:up.sh
to execute the script. Note that Windows 10 requires the script command to beup.sh
, not./up.sh
.
C:\Users\userName\Workspace>cd PKC C:\Users\userName\Workspace\PKC>up.sh
- After you submitted the
up.sh
in your command prompt, you will need to launch one more command to make Semantic MediaWiki work properly. - Depends on your network connection, this process will download at least 5GB of data content, so that it will take a while.
Copy and paste the following command to your command prompt.
docker exec pkc_mediawiki_1 php /var/www/html/maintenance/update.php
- It will first wait for 5 seconds before updating content in the database, so that the whole process will take up to a minute to finish.
- Open a browser: type the following URL to the browser's URL field: http://localhost:9352.