-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from muonlineph/feat/weaponsforge-1
feat: code cleanup
- Loading branch information
Showing
7 changed files
with
82 additions
and
4,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Deploy to Production Environment | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy-client: | ||
name: Build and Deploy GitHub Pages | ||
if: github.event.release.target_commitish == 'master' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.release.tag_name }} | ||
- name: List files for publish | ||
run: cd public && ls -l -a | ||
- name: Deploy to Github Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: public | ||
publish_branch: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,58 @@ | ||
## guildsite-kobalos | ||
|
||
> This is a backup and archive of the (Mobiusgames) Mu Philippine's **KoB/\Los** guild website, as it was last seen on webs.com (freewebs.com) before it was deactivated. I'm uploading it in public for future references, and maybe get to update the site to use modern web design and layout techniques if time permits. | ||
> | ||
> **NOTE:** The original site uses static files and outdated HTML/JS approaches. Some functionality on various pages may not work on modern browsers. | ||
## Demo | ||
|
||
https://github.com/muonlineph/guildsite-kobalos/public | ||
|
||
|
||
### Content | ||
|
||
- [Demo](#demo) | ||
- [Dependencies](#dependencies) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Credits](#credits) | ||
|
||
### Dependencies | ||
|
||
The following dependecies are used for this project. Feel free to experiment using other dependencies and versions. | ||
|
||
1. Windows 64-bit OS | ||
2. NodeJS | ||
- node version 12.16.3 | ||
- npm version 6.14.4 | ||
3. NodeJS modules (installed via npm) | ||
- gulp v.4.0.2 | ||
- browser-sync v.2.26.7 | ||
|
||
|
||
## Installation | ||
|
||
1. Clone this repository. | ||
`https://github.com/muonlineph/guildsite-kobalos.git` | ||
|
||
2. Install dependencies. | ||
`npm install` | ||
|
||
|
||
## Usage | ||
|
||
1. Run the localhost static website development environment. | ||
`npm run dev` | ||
|
||
2. Edit the existing static files from the **./public** directory and wait for live reload. Your updates will reflect on the web browser. | ||
|
||
3. To include new static website files on live reload: | ||
- Stop the localhost **dev** server. | ||
- Create your new static (.html, .js, .css) files inside the **./public** directory. | ||
- Re-start the **dev** server. | ||
`npm run dev` | ||
|
||
4. Run the production static website (does not use live reload). | ||
`npm run start` | ||
|
||
## Credits | ||
|
||
Many thanks to GM Tony for writing most of the site's content and for guild members' active participation in-game, on the forums and on-site. | ||
|
||
@weaponsforge | ||
20211108 | ||
## guildsite-kobalos | ||
|
||
> This is a backup and archive of the (Mobiusgames) Mu Philippine's **KoB/\Los** guild website, as it was last seen on webs.com (freewebs.com) before it was deactivated. I'm uploading it in public for future references, and maybe get to update the site to use modern web design and layout techniques if time permits. | ||
> | ||
> **NOTE:** The original site uses static files and outdated HTML/JS approaches. Some functionality on various pages may not work on modern browsers. | ||
![kobalos](assets/screenshot.png) | ||
|
||
## Demo | ||
|
||
https://github.com/muonlineph/guildsite-kobalos/ | ||
|
||
|
||
### Content | ||
|
||
- [Demo](#demo) | ||
- [Dependencies](#dependencies) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Credits](#credits) | ||
|
||
### Dependencies | ||
|
||
This project has no dependencies since it only contains static website files. Other local web servers that allow the hosting of static files are alternate options for local host development. | ||
|
||
- (Optional) Docker<br> | ||
Required to run a Dockerized Node web server for local development | ||
|
||
|
||
## Installation | ||
|
||
1. Clone this repository.<br> | ||
`https://github.com/muonlineph/guildsite-kobalos.git` | ||
|
||
2. Pull the local web server image (this requires Docker installed).<br> | ||
`docker pull weaponsforge/livereload-basic:latest` | ||
|
||
|
||
## Usage | ||
|
||
1. Navigate to the project root directory using a terminal, then run the local web server.<br> | ||
`docker run -it --rm -p 3000:3000 -v %cd%\public:/opt/app/public -e IS_DOCKER=true -e USE_POLLING=true weaponsforge/livereload-basic:latest` | ||
|
||
2. Load the localhost website at:<br> | ||
`http://localhost:3000` | ||
|
||
3. Edit the existing static files from the **./public** directory and wait for live reload. Your updates will reflect on the web browser. | ||
|
||
4. To include new static website files on live reload: | ||
- Create new static (.html, .js, .css) files inside the **./public** directory. | ||
|
||
## Credits | ||
|
||
Many thanks to GM Tony for writing most of the site's content and for guild members' active participation in-game, on the forums and on-site. | ||
|
||
@weaponsforge<br> | ||
20211110<br> | ||
20241006 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.