Git Product home page Git Product logo

blog's Introduction

A simple blog post website

This is the source code repository for blog. screenshots

Installation

  1. Fork this repository to your own account.
  2. Clone the Forked repository git clone https://github.com/your_github_username/blog.git
  3. After cloning, now run cd blog and get into your newly cloned local repository/folder.
  4. Run composer install to install the dependencies as defined in the composer.json file.
  5. Run npm install to install the dependencies as defined in the package.json file.
  6. Now is the time to add the upstream remote address. This will be something useful in a team environment. Let’s say three person is working on a repository and everyone brings and pushes changes into what we call upstream or main repository. If you run git remote -v you will see that you have only origin configured and that’s looking to your fork. Now let’s add upstream as well: git remote add upstream https://github.com/murtazasultani/blog.git
  7. you can create .env by cp .env.example .env then add your database credential in it.
  8. Run php artisan key:generate to generate a key for your app.
  9. Run php artisan migrate --seed to run the database migrations.
  10. Run npm run watch or npm run dev to compile the assets.
  11. Run php artisan serve to Serve the application on the PHP development server.

You can now visit the app in your browser by visiting http://127.0.0.1:8000.

Good Practices

  1. Before doing fetching any records from upstream or pushing, always check if you are in the right branch. You can see what branch you are in by running the following command: git branch

  2. Before doing any new work, always run git fetch upstream and then git merge upstream/master on the master branch. If you are not in the master branch, simply run get checkout master first to make sure you are in the master branch.

  3. Keep every commit and its message meaningful and relevant.

  4. Keep your PR titles meaningful and relevant.

  5. Always include ifix- before your branch names. That’s our common pattern. i there is issue and fix is the fix you are providing.

blog's People

Contributors

murtazasultani avatar

Watchers

James Cloos avatar  avatar

Forkers

somayaahmadi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.