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/
- Clone the git repo —
git clone https://github.com/tanwanimohit/Host-Html-Files.git
- 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
- If using node, in the project folder using terminal, run
- 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
- If using node, in the project folder using terminal, run
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.
- Install docker and docker-compose on your system
- 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.
- Run
git status
git add .
git commit -m '<insert commit message>'
git fetch
git rebase origin/master
git push origin HEAD
- Create a pull request
git rebase origin/<current branch>
- Fix any available merge conflicts then
git add .
thengit rebase --continue
. Continue doing this until there are no more conflicts git push origin HEAD
git checkout master
git fetch
git rebase origin/master
git checkout -b <new branch>
to start working on a new branch