PeterlitsZo / resume

resume.peterlits.com

Home Page:http://resume.peterlits.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resume

Usage

Install dependencies

The project is using yarn as package manager. Use this code below to install packages:

$ yarn

Run in browser... Cool (Only for test and preview)

You can try to run this project in your browser:

$ yarn dev

If you try to run this application, you can find a resume show on your browser. Cool. But how to change? It is easy:

  • The page in store in src/pages/. You can change the App.tsx to get your resume. You can check the import statement of it.

Find any question? Report an issue.

Build as a really server

You can use this command to build this project:

$ yarn build

All thing will put at the folder ./dist. You can choose the static server you like best. For example, use python (but I do not think use the http.server is a good idea):

$ cd ./dist
$ sudo python3 -m http.server 80

Well, you can also use docker + nginx:

# Build a docker image `resume`!
$ docker build . -t resume
# Now you can run it!
$ docker run -p 80:80 -d resume

Save the image as a file and send it to your machine:

$ docker build . -t resume
$ docker save resume | bzip2 > resume.tar.bz2
$ rsync -avP ./resume.tar.bz2 <your host username>@<your host ip>:~
# Now use `ssh` and `ssh load` to get the image and run it!

About

resume.peterlits.com

http://resume.peterlits.com


Languages

Language:TypeScript 85.4%Language:SCSS 13.2%Language:HTML 0.9%Language:Dockerfile 0.4%