Skip to content
HTML Page Uploader
JavaScript CSS Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views
.gitattributes
.gitignore
Dockerfile
README.md
docker-compose.yml
index.js
package-lock.json
package.json

README.md

HTML-Hoster

HTML Page Uploader

Host your HTML Files for Free, just enter your content which creates a unique URL with your live web page! Currently live at https://www.hosthtml.tk/

Quick Start

  1. Clone the git repo — git clone https://github.com/tanwanimohit/Host-Html-Files.git
  2. Install node or yarn
    • If using node, in the project folder using terminal, run npm install
    • If using yarn, in the project folder using terminal, run yarn install
  3. To run code, in the project folder using terminal, run:
    • If using node, in the project folder using terminal, run npm run start
    • If using yarn, in the project folder using terminal, run yarn start

You need to remove env variables and need to add your local or any other mongo db url and db name on line 19 and 25 Else you can use docker it will automatically do that.

Quickstart using Docker

  1. Install docker and docker-compose on your system
  2. Clone the git repo - git clone https://github.com/tanwanimohit/Host-Html-Files.git
    • Run npm run docker to start the containers.
    • Run npm run docker:dev to force a rebuild and start the containers.

Git Workflow

SIMPLE PUSH

  1. git status
  2. git add .
  3. git commit -m '<insert commit message>'
  4. git fetch
  5. git rebase origin/master
  6. git push origin HEAD
  7. Create a pull request

IF CURRENT BRANCH IS BEHIND

Option 1

  1. git rebase origin/<current branch>
  2. Fix any available merge conflicts then git add . then git rebase --continue. Continue doing this until there are no more conflicts
  3. git push origin HEAD

AFTER MERGING

  1. git checkout master
  2. git fetch
  3. git rebase origin/master
  4. git checkout -b <new branch> to start working on a new branch
You can’t perform that action at this time.