officialalkenes / hoomia

An Ecommerce site like Jumia but better. Every step of this project will be well documented.
1 stars 0 forks source link

Hoomia

(A django Ecommerce store like Jumia. This Repo will be very available for any and every)

Packages To be Introduced

Intallation Guide

"Click to expand" - [Setup](#setup) - [Features](#features) - [Deployment Options](#deployment-options) - [Advanced Formatting tips](#advanced-formatting-tips) - [`left` alignment](#left-alignment) - [`right` alignment](#right-alignment) - [`center` alignment example](#center-alignment-example) - [`collapse` Sections](#collapse-sections) - [`additional links`](#additional-links) - [Badges](#badges) - [Useful packages](#useful-packages) - [Useful utilities](#useful-utilities) - [How Serverless uses markdown](#how-serverless-uses-markdown) - [DEMO](#demo) - [Other Markdown Resources](#other-markdown-resources)

Setup

Create a Virtual Env (Windows)

$ py -m venv venv

Create a Virtual Env (Linux)

$ virtualenv venv

Activating The Environment (Windows)

$ venv/Scripts/activate

Activating The Environment (Linux)

$ source venv/bin/activate

Cloning this Repo to the same directory

$ git clone https://github.com/officialalkenes/hoomia.git .

Cloning this Repo

$ git clone https://github.com/officialalkenes/hoomia.git

Install developer and application packages. Note: redis installation can be tedious for windows user. I might include a installation guideline in the future. rabbitmq is very easy to use also

Installing Requirements.txt

$ pip install -r requirements.txt

Features

Deployment Options


Feature Implementation Link

if you need my feature implementation guidelines, follow this link. I will also implement some features of well recognized e-commerce platforms.

A related example of is here & here. Expect some Modifications though.

Chatbot Implementation

Since this is a not a standard application, the use of channels might be too overwhelming. Scalability is top priority.

left alignment

This is the code you need to align images to the left:

<img align="left" width="100" height="100" src="http://www.fillmurray.com/100/100">

right alignment

This is the code you need to align images to the right:

<img align="right" width="100" height="100" src="http://www.fillmurray.com/100/100">

center alignment example

<p align="center">
  <img width="460" height="300" src="http://www.fillmurray.com/460/300">
</p>

Adding video

To add video you need to upload your video file and reference it inline

https://user-images.githubusercontent.com/1702215/158075475-c23004ab-827a-45ad-bdba-aee29ac5b582.mp4

Example:

https://user-images.githubusercontent.com/1702215/158075475-c23004ab-827a-45ad-bdba-aee29ac5b582.mp4

light/dark mode images

Tip via this tweet. Swap out images based on theme settings

![Logo](./dark.png#gh-dark-mode-only)
![Logo](./light.png#gh-light-mode-only)

Using footnotes

Here is a simple footnote[^example]. With some additional text after it.

[^example]: Example footnote

Here is a simple footnote[^1]. With some additional text after it.

[^1]: My reference.

Tiny text in markdown

Normal text here.

Tiny text is here. Awwwww its so cuteeeeeeeeeee

How?

<sup><sub>Add your tiny text</sub></sup>

collapse Sections

Collapsing large blocks of text can make your markdown much easier to digest

"Click to expand" this is hidden block
<details>
<summary>"Click to expand"</summary>
this is hidden
</details>

Collapsing large blocks of Markdown text

To make sure markdown is rendered correctly in the collapsed section... 1. Put an **empty line** after the `` block. 2. *Insert your markdown syntax* 3. Put an **empty line** before the `
` tag
<details>
<summary>To make sure markdown is rendered correctly in the collapsed section...</summary>

 1. Put an **empty line** after the `<summary>` block.
 2. *Insert your markdown syntax*
 3. Put an **empty line** before the `</details>` tag

</details>

additional links

WebsiteEmail UpdatesGitterForumMeetupsTwitterFacebookContact Us

[Website](http://www.serverless.com) • [Email Updates](http://eepurl.com/b8dv4P) • [Gitter](https://gitter.im/serverless/serverless) • [Forum](http://forum.serverless.com) • [Meetups](https://github.com/serverless-meetups/main) • [Twitter](https://twitter.com/goserverless) • [Facebook](https://www.facebook.com/serverless) • [Contact Us](mailto:hello@serverless.com)

Badges

[![CI](https://github.com/fastify/fastify/workflows/ci/badge.svg)](https://github.com/fastify/fastify/actions/workflows/ci.yml) [![Package Manager CI](https://github.com/fastify/fastify/workflows/package-manager-ci/badge.svg)](https://github.com/fastify/fastify/actions/workflows/package-manager-ci.yml) [![Web SIte](https://github.com/fastify/fastify/workflows/website/badge.svg)](https://github.com/fastify/fastify/actions/workflows/website.yml) [![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify/badge.svg)](https://snyk.io/test/github/fastify/fastify) [![Coverage Status](https://coveralls.io/repos/github/fastify/fastify/badge.svg?branch=main)](https://coveralls.io/github/fastify/fastify?branch=main) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

Nice looking file tree

For whatever reason the graphql syntax will nicely highlight file trees like below:

# Code & components for pages
./src/* 
  ├─ src/assets - # Minified images, fonts, icon files
  ├─ src/components - # Individual smaller components
  ├─ src/fragments - # Larger chunks of a page composed of multiple components
  ├─ src/layouts - # Page layouts used for different types of pages composed of components and fragments
  ├─ src/page - # Custom pages or pages composed of layouts with hardcoded data components, fragments, & layouts
  ├─ src/pages/* - # Next.js file based routing
  │  ├─ _app.js - # next.js app entry point
  │  ├─ _document.js - # next.js document wrapper
  │  ├─ global.css - #  Global CSS styles
  │  └─ Everything else... - # File based routing
  └─ src/utils - # Utility functions used in various places

Useful packages

  1. gray-matter

    YAML front-matter is your friend. You can keep metadata in markdown files

    title: Serverless Framework Documentation
    description: "Great F'in docs!"
    menuText: Docs
    layout: Doc
  2. Remark

    Useful for rendering markdown in HTML/React

  3. Markdown Magic


Useful utilities

  1. Schedule Posts - Post scheduler for static sites

    Show DEMO

  2. Zero friction inline content editing

    Show DEMO

  3. Byword & Typora - Good Editors

  4. Monodraw - Flow charts for days

  5. Kap - Make gifs

  6. IDE markdown preview

  7. Stuck on WordPress? Try easy-markdown plugin


How Serverless uses markdown

Serverless.com is comprised of 3 separate repositories

Why multiple repos?

  1. We wanted documentation about the framework to live in the serverless github repo for easy access
  2. We wanted our blog content to be easily portable to any static site generator separate from the implementation (site)
  3. prebuild npm script pulls the content together & processes them for site build

A single repo is easier to manage but harder for people to find/edit/PR content.


DEMO

Other Markdown Resources