• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

HNGi7-Team-Falcon/fundmylaptop-frontend

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

HNGi7-Team-Falcon/fundmylaptop-frontend

开源软件地址(OpenSource Url):

https://github.com/HNGi7-Team-Falcon/fundmylaptop-frontend

开源编程语言(OpenSource Language):

HTML 91.0%

开源软件介绍(OpenSource Introduction):

FundMy Laptop

Please before you push your codes to the repository make sure you pull from the repository, so the changes that have been made can be reflected on your local machine, for us to avoid merge conflicts use the git command line

git pull origin develop

Developers guide.

This process here should be able to guide you on how to contribute effectively to this project, follow the steps below. You should not be new to the git workflow process however if you still are, the guide should still be able to help you through the process.

Develop is the default branch.

  • All occurences of tominsinlalude will be your own github username

  • Fork the repository to generate a copy of your own.

  • Clone the repository.

     git clone https://github.com/tomisinlalude/TalentPool.git
    
  • Make your forked repo the remote upstream (at origin)

    git remote add origin https://github.com/tomisinlalude/TalentPool.git
  • Create a branch FROM develop, ALWAYS CREATE YOUR BRANCH FROM DEVELOP, the branch name should at least be meaningful, make sure you have one story per branch (one(1) story === one(1) branch)
 git checkout -b (name-of-branch)

After changes have been made do:

 git pull origin develop

Consistently pull from the develop branch to avoid not getting your pull request merged and to avoid conflicts. This way you can resolve conflicts from your local computer even before pushing always check what branch you are on when making changes

  • Make your changes, add them and make your commits

    git commit -m "your message"
    

Write good commit messages, this is very important, so people reviewing can know what your fix, feature e.t.c. is doing

  • Push your codes to the new branch on your forked remote upstream repository
    git push origin (name-of-branch)

Make your Pull request from that branch of your repo to the develop branch of this (the HNG) repo and wait for it to be merged.

Write good commit messages, this is very important, so people reviewing can know what your fix, feature e.t.c. is doing Your PR should carry the story / task URL (instruction from above). if you are going to make changes to an existing code, state why you are doing so in the commit messages

it is not just about the code, user workflow matters too!!

Commit Structure

  • type: subject e.g body, footer

The title consists of the type of the message and subject. The type is contained within the title and can be one of these types:

  • feat: a new feature

  • fix: a bug fix

  • docs: changes to documentation

  • style: formatting, missing semi colons, etc; no code change

  • refactor: refactoring production code

  • test: adding tests, refactoring test; no production code change

  • chore: updating build tasks, package manager configs, etc; no production code change

An example of a good commit message

feat: Make login check for email and password

More detailed explanatory text, if necessary. Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like log, shortlog and rebase can get confused if you run the two together. Explain the problem that this commit is solving. Focus on why you are making this change as opposed to how (the code explains that). Are there side effects or other unintuitive consequenses of this change? Here's the place to explain them.

  • Further paragraphs come after blank lines.
  • Bullet points are okay, too
  • Typically a hyphen or asterisk is used for the bullet, preceded by a single space, with blank lines in between, but conventions vary here
  • If you use an issue tracker, put references to them at the bottom, like this: Resolves: #123 See also: #456, #789 And if your commit is just a simple thing, then make the message very short, but not just a title

Making a hosted version

Sign up to ZEIT Now and go through the onboarding flow, ensuring your GitHub account is connected by using their ZEIT Now for GitHub integration. Connect your project to ZEIT Now from the "Create a new project" page, using the "New Project From GitHub" button and selecting the project you want to deploy. Once connected, every time you git push, ZEIT Now will create a new deployment and the deployment URL will be shown on your ZEIT Dashboard. You will also receive an email for each deployment with the URL.

local development

To start development install dependencies with yarn install and use yarn start:dev to start a local server with hot reload enabled. For production build run yarn start

Contents are served from public/pages folder, this is where to compile the submitted sections of html files into. and builds are lcated at dist directory, this is where to point the webroot to when hosting.

Add routes at router/routes.js

originally Composed by @tominsinlalude edited by @seunbayo

Happy hacking!!!!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
BoomingTech/Piccolo: Piccolo – mini game engine for games104发布时间:2022-06-22
下一篇:
CasparCG/Frontend: This project is deprecated发布时间:2022-06-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap