Web based Markdown editor and publish system

KANNA

Web based Markdown editor and publish system

Stack

  • Django 3 + DRF + Celery + Channels
  • Vue.js 2 + Axios + Element UI
  • Nginx + Let’s Encrypt
  • Postgresql 11
  • Redis
  • Docker, docker-compose

Note

  • restart nginx container if changed nginx conf file(nginx/conf.d/*)
  • ENV variables in docker-compose file overwrites .env file.
  • backend/.env is loaded when run docker-compose up

Requirements

  • OS: Mac or Linux
  • Docker, docker-compose

Third party

Sentry(option but recommended)

Quick start(development)

  • run cp backend/.env.example backend/.env.

  • edit backend/.env

    • if use sentry, change DJANGO_SENTRY_DSN to your dsn
  • run cp frontend/.env.example frontend/.env.

  • edit frontend/.env

  • run make build

  • run make up

  • confirm backend container is running, then:

    • run make migrate
    • run make createsuperuser
      • email: admin@example.com
      • password: password
  • confirm frontend container is running and webpack build is completed, then:

    If failed make up with these errors, then run make up again.

    ERROR: for knn.frontend  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
    ERROR: for frontend  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
    ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
    
    

Swagger/OpenAPI 2.0 specifications(to be)

Testing

Django Unittest

  • run make test-backend

Code Formatter

Black(for backend)

  • require Black on your system
  • run black --exclude /migrations/ ./backend

Deploy

  • edit backend/.env and frontend/.env
  • edit init-letsencrypt: domain, email
  • make prod-build
  • make prod-up
  • ./init-letsencrypt.sh

Make commands

refers to Makefile

development

  • build: docker-compose build
  • up: docker-compose up
  • createsuperuser: create superuser
  • restart: docker-compose restart
  • create-dummy-books: make create-dummy-books TOTAL=10

Deploy

  • prod-build: docker-compose build
  • prod-up: docker-compose up

View log

  • log-backend: show backend log
  • log-asgi: show asgi(daphne) log
  • log-worker: show celery log
  • log-nginx: show nginx log
  • log-frontend: show frontend(development only)
  • log-db: show db log

Shell

  • sh-backend: run bash in backend container
  • sh-nginx: run bash in nginx container

Download Details:

Author: b1tk3y

Source Code: https://github.com/b1tk3y/open-kanna

#vue #vuejs #javascript

What is GEEK

Buddha Community

Web based Markdown editor and publish system
Ruth  Nabimanya

Ruth Nabimanya

1620633584

System Databases in SQL Server

Introduction

In SSMS, we many of may noticed System Databases under the Database Folder. But how many of us knows its purpose?. In this article lets discuss about the System Databases in SQL Server.

System Database

Fig. 1 System Databases

There are five system databases, these databases are created while installing SQL Server.

  • Master
  • Model
  • MSDB
  • Tempdb
  • Resource
Master
  • This database contains all the System level Information in SQL Server. The Information in form of Meta data.
  • Because of this master database, we are able to access the SQL Server (On premise SQL Server)
Model
  • This database is used as a template for new databases.
  • Whenever a new database is created, initially a copy of model database is what created as new database.
MSDB
  • This database is where a service called SQL Server Agent stores its data.
  • SQL server Agent is in charge of automation, which includes entities such as jobs, schedules, and alerts.
TempDB
  • The Tempdb is where SQL Server stores temporary data such as work tables, sort space, row versioning information and etc.
  • User can create their own version of temporary tables and those are stored in Tempdb.
  • But this database is destroyed and recreated every time when we restart the instance of SQL Server.
Resource
  • The resource database is a hidden, read only database that holds the definitions of all system objects.
  • When we query system object in a database, they appear to reside in the sys schema of the local database, but in actually their definitions reside in the resource db.

#sql server #master system database #model system database #msdb system database #sql server system databases #ssms #system database #system databases in sql server #tempdb system database

Evolution in Web Design: A Case Study of 25 Years - Prismetric

The term web design simply encompasses a design process related to the front-end design of website that includes writing mark-up. Creative web design has a considerable impact on your perceived business credibility and quality. It taps onto the broader scopes of web development services.

Web designing is identified as a critical factor for the success of websites and eCommerce. The internet has completely changed the way businesses and brands operate. Web design and web development go hand-in-hand and the need for a professional web design and development company, offering a blend of creative designs and user-centric elements at an affordable rate, is growing at a significant rate.

In this blog, we have focused on the different areas of designing a website that covers all the trends, tools, and techniques coming up with time.

Web design
In 2020 itself, the number of smartphone users across the globe stands at 6.95 billion, with experts suggesting a high rise of 17.75 billion by 2024. On the other hand, the percentage of Gen Z web and internet users worldwide is up to 98%. This is not just a huge market but a ginormous one to boost your business and grow your presence online.

Web Design History
At a huge particle physics laboratory, CERN in Switzerland, the son of computer scientist Barner Lee published the first-ever website on August 6, 1991. He is not only the first web designer but also the creator of HTML (HyperText Markup Language). The worldwide web persisted and after two years, the world’s first search engine was born. This was just the beginning.

Evolution of Web Design over the years
With the release of the Internet web browser and Windows 95 in 1995, most trading companies at that time saw innumerable possibilities of instant worldwide information and public sharing of websites to increase their sales. This led to the prospect of eCommerce and worldwide group communications.

The next few years saw a soaring launch of the now-so-famous websites such as Yahoo, Amazon, eBay, Google, and substantially more. In 2004, by the time Facebook was launched, there were more than 50 million websites online.

Then came the era of Google, the ruler of all search engines introducing us to search engine optimization (SEO) and businesses sought their ways to improve their ranks. The world turned more towards mobile web experiences and responsive mobile-friendly web designs became requisite.

Let’s take a deep look at the evolution of illustrious brands to have a profound understanding of web design.

Here is a retrospection of a few widely acclaimed brands over the years.

Netflix
From a simple idea of renting DVDs online to a multi-billion-dollar business, saying that Netflix has come a long way is an understatement. A company that has sent shockwaves across Hollywood in the form of content delivery. Abundantly, Netflix (NFLX) is responsible for the rise in streaming services across 190 countries and meaningful changes in the entertainment industry.

1997-2000

The idea of Netflix was born when Reed Hastings and Marc Randolph decided to rent DVDs by mail. With 925 titles and a pay-per-rental model, Netflix.com debuts the first DVD rental and sales site with all novel features. It offered unlimited rentals without due dates or monthly rental limitations with a personalized movie recommendation system.

Netflix 1997-2000

2001-2005

Announcing its initial public offering (IPO) under the NASDAQ ticker NFLX, Netflix reached over 1 million subscribers in the United States by introducing a profile feature in their influential website design along with a free trial allowing members to create lists and rate their favorite movies. The user experience was quite engaging with the categorization of content, recommendations based on history, search engine, and a queue of movies to watch.

Netflix 2001-2005 -2003

2006-2010

They then unleashed streaming and partnering with electronic brands such as blu-ray, Xbox, and set-top boxes so that users can watch series and films straight away. Later in 2010, they also launched their sophisticated website on mobile devices with its iconic red and black themed background.

Netflix 2006-2010 -2007

2011-2015

In 2013, an eye-tracking test revealed that the users didn’t focus on the details of the movie or show in the existing interface and were perplexed with the flow of information. Hence, the professional web designers simply shifted the text from the right side to the top of the screen. With Daredevil, an audio description feature was also launched for the visually impaired ones.

Netflix 2011-2015

2016-2020

These years, Netflix came with a plethora of new features for their modern website design such as AutoPay, snippets of trailers, recommendations categorized by genre, percentage based on user experience, upcoming shows, top 10 lists, etc. These web application features yielded better results in visual hierarchy and flow of information across the website.

Netflix 2016-2020

2021

With a sleek logo in their iconic red N, timeless black background with a ‘Watch anywhere, Cancel anytime’ the color, the combination, the statement, and the leading ott platform for top video streaming service Netflix has overgrown into a revolutionary lifestyle of Netflix and Chill.

Netflix 2021

Contunue to read: Evolution in Web Design: A Case Study of 25 Years

#web #web-design #web-design-development #web-design-case-study #web-design-history #web-development

prashant patil

1598286700

whatsapp web-w app web-webs whatsapp »

Through whatsapp web you can easily run whatsapp on your android pc on your android mobile. Just like whatsapp mobile is for android device, whatsapp web is for windows device. Whatsapp web is quite popular which has quite cool features.

whatsapp web

how to use whatsapp web desktop
Whatsapp web is very easy to use. Simply you have to search web.whatsapp.com in your google chrome and click on first result which is the official website of whatsapp web.

As soon as you click, an interface will open in front of you, on which you will see a barcode. Follow the steps given below to use whatsapp web on your desktop

web.whatsapp.com

open your whatsapp on your mobile
You will see 3dots on the right side top inside whatsapp, you have to click
The 3rd option is whatsapp web, you have to click it
Now you have to capture the barcode you see on your desktop through your phone.
Now you can use whatsapp of your android mobile in your desktop
webs whatsapp

note: You can see whatsapp of anyone’s mobile by pointing to the barcode of your desktop. You can also call it whatsapp hack.

Remember that after using whatsapp web, logout it from your desktop. To logout follow the steps given below.

w app web

open your whatsapp on your mobile
You will see 3dots on the right side top inside whatsapp, you have to click
The 3rd option is whatsapp web, you have to click it
You will see the symbol for logout, you have to logout by clicking it.

read more

#whatsapp #whatappweb #https://web.whatsapp.com/ #wsp web #web.whatsapp web #web whatsapp

Maddy Bris

Maddy Bris

1599132316

5Kw Solar System in Brisbane

1 August 2020, Sunny Sky solarannounced you to launch a residential solar power system in Queensland, Australia. There are different sizes of houses with different energy requirements so one solar power system cannot fulfill every type of electricity need.

Whether energy need is low or higher they have announced a wide range of solar power system in Brisbane that includes 5KW solar panel system, 6Kw solar panel system, 10Kw solar panel system, and many more so that everyone can enjoy the benefits of solar energy.

Residential Solar Power System needs to be flexible because of the changing requirement of energy. As we know our energy needs hikes up in the summers more than winters because we use air conditioners, refrigerators (also used in winters but less than summers), fans. In winter we drop down these usages so the energy needs to go up and down according to the weather changing.

Some households have a high energy need, some have low, and mostly have the normal or average of high and low. Sunny Sky Solar offers expert’s advice to all the customers on call or personally because it is important to analyze the energy need, budget, location, and many other things before buying a solar power system for your home sweet home.

Their professionals analyze all these things and suggest you the best residential solar power system in Brisbane to reduce the energy costs and clean the environment as solar energy is green & clean energy.

At this time of announcing the residential solar panel system, the representative of Sunny Sky Solar has talked about some advantages of a residential solar power system. He said “get update yourself by the time is important because the latest technology will save you lots of money and time. The solar power system is the best technology in this era that can give you lots of benefits. Don’t get upset with the initial cost because after installing a solar power system at your house it will repay you the initial cost in two to three years. So, you are going to invest in a great deal if you are purchasing a solar panel system in Brisbane.”

He also added “Residential solar power system can save your pocket from getting loose every month for heavy electricity bills. You will earn money by producing solar energy and feeding your power supply grid as government, and mostly all the power suppliers give benefits to producing solar energy. You can easily earn money by feeding the power grid with your excess produced solar energy. You will use solar energy and save the excess by feeding the power grid this way.”

Sunny Sky Solar offering an efficient range of residential and commercial solar power system that includes 5KW solar panel system, 6.6Kw solar panel system, 10Kw solar panel system, and there are many more that you can select according to your energy needs and budget.
They provide expert assistance that will help you in choosing the best solar system for your house. Their experienced professionals work under the guidance of experts who ensures the perfections and safety at the time of installing and after the installation.

Installing a solar power system at your place will be more convenient with them because they work under the expert’s supervision that makes them perfect and faster. They ensure safety first at the time of installing because at that time family members are around the installing site and accidents can happen.

They also ensure the quality of products they used in installing and other solar products. If the products will be durable and efficient, the system will produce more electricity with higher efficiency for a longer period.
The main thing that matters while installing a solar power system at a residence is the roof situation, Sunny Sky Solar doesn’t work for doing business only. They first check the place or analyze from your information that your location is safe for installing a solar power system or not. If the find any problem they will suggest repairing it first because if you will put the solar power system at a less secure place and the solar system’s weight can damage it then repairing that place first should your main priority.
This shows their loyalty and caring behavior towards the customers.

#solar panel system #solar panel system in brisbane #5kw solar panel system #5kw solar panel system #10kw solar panel system #10kw solar panel system in brisbane

Ananya Gupta

Ananya Gupta

1613386017

Key Points For Joining The Best Web Designing For Better Career Option

The scope of the web designer is increasing day by day, because of high demanding job forms an important part of our society. Web Designing is that the creation and planning of internet sites. it’s a process of developing different sites.

To be an honest web designer you ought to have an entire knowledge of CSS and HTML. These are the important prerequisite for designing an internet site. In today’s world of competition to be amongst at the highest one needs media. Websites are playing a key role in today’s life. Whether in online web desiging course mention shopping or engineering everything is formed online.

These are some of the main benefits which a standard person has made with the utilization of internet sites. many roles are available for web designers than before. Many big companies demand experienced and quality web designers.

Web designing is the creative and innovative part of web development during which the designer is especially concerned with how our website looks. CSS is the heart of the web designing part.

The scope of web designing is increasing day by day. In today’s web and internet world, people want a creative website once they want to access it. Top company web development of India hands over 8-10 lac per annum for an experienced web designer. So it’s a really good field for creating websites.

Web designers have the work of designing whole websites which forms the primary step of web development. After web designing remaining work will start. In today’s growing scenario there are many job opportunities for fresher and experienced candidates.

Web designing is a crucial course that features a lot of scope within the present and also in the future scenario. There are two ways to travel through this course. If you’re curious about taking over a full-time web designer course then we will make a career in media or as advertising agents.

If one is curious about Engineering or in Commerce course but getting to develop the skill in web designing, then you’ll prefer the part-time short course in web designing.

When it comes to selecting a training institute, you will find them in every corner. CETPA Infotech is a reputed training institution and provides training that is industry oriented, updated, innovative and summer training has become a pioneer during this online designing field.

#web designing training in noida #web designing training in delhi #web designing online training #web designing online course #web designing course #web designing training