Skip to content
At this moment, it is a pure client typescript SPA.
JavaScript TypeScript HTML CSS PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
ConfigureDescriptionFiles
MemorizeYC.Web
.gitattributes
.gitignore
LICENSE.txt
MemorizeYC.Web.sln
README.md

README.md

Web version of MemorizeYC

It's main web site is at http://memorizeyc.azurewebsites.net and its demo is at http://memorizeyc.azurewebsites.net/Static/.

I. Install it on the device which can run Node.JS and it will be a web server.

  1. Download this project into your device:
$ cd [DIR]
$ git clone https://github.com/ychsue/MemorizeYC.Web.git
  1. Install it by npm and run it through http-server
$ cd MemorizeYC.Web/MemorizeYC.Web
$ npm install
$ npm start
  1. Navigate to http://localhost:8080 on your web browser.
  2. If you want to debug it by vscode, you need to install Chrome at first. Then follow the tutorial shown in this YouTube video. Remember that,

a. You need to run ``` sh $ npm start ``` in MemorizeYC.Web subfolder so that it can complie the code through **tsc** and make this subfolder as a web server through **http-server**.
b. You need to restart (refresh) the debugger once it is debugging unless you cannot pause the program at your breakpoint. ## II. Install it in Linux Apache2 server 1. First of all, you need to install an Apache2. 2. Login as a super user in order to create a subdirectory such as **Static** as I used. 3. copy **CSSs**, **GSPages**, **PlayPage**, **Samples**, **index.html**, **MYCWeb.js** and **version.json** into this subdirectory. 4. change its mode by `chmod -R 755 *`. 5. Change **GlobalVariables.rootDir** from "/" to "/Static/" and some other important settings in **index.html**. 6. Then, open a browser and key in `localhost/Static/` to test it. 7. Have fun! ## III. Install it in An ASP.NET server 1. Create a subdirectory to hold this program. In my case, I named it **Static**. 2. Copy **CSSs**, **GSPages**, **PlayPage**, **Samples**, **index.html**, **MYCWeb.js** and **version.json** into this subdirectory. 3. Add ```XML
<staticContent>
    <mimeMap fileExtension=".level" mimeType="text/plain" />
    <mimeMap fileExtension=".box" mimeType="text/plain" />
    <mimeMap fileExtension=".json" mimeType="application/json" />
    <mimeMap fileExtension=".m4a" mimeType="audio/mp4"/>
</staticContent>

</system.webServer> ``` into Web.config file of ASP.NET.

  1. Change GlobalVariables.rootDir from "/" to "/Static/" and some other important settings in index.html.
  2. Then, open a browser and key in localhost/Static/ to test it.
  3. Have fun!
You can’t perform that action at this time.