Bigsansar


NameBigsansar JSON
Version 2.5.7 PyPI version JSON
download
home_pagehttps://github.com/pokhrelb9/bigsansar
SummaryBuild one in minutes with bigsansar - a visual site building tool!
upload_time2024-03-23 13:33:11
maintainerNone
docs_urlNone
authorBikash Pokhrel
requires_python>=3.6
licenseNone
keywords python django host bigsansar django django sites framework django flatpages
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## New update
* fixed some bugs
* added new db table for nav always open or close.
* now you can install bigsansar package in to ubuntu and all setup with on command lines

# How to get Bigsansar

Bigsansar is available open-source under the [MIT](https://en.wikipedia.org/wiki/MIT_License) license. We recommend using the latest version of Python 3.
Bigsansar is Fully based on django and linux ubuntu.  You can use [bigsansar](https://bigsansar.com) for install packaged.
You can use
[bigsansar](https://bigsansar.com)
for install packaged.

view our tutorials in
[youtube](https://youtube.com/bigsansar)

for playlist:
[bigsansar for django](https://www.youtube.com/playlist?list=PLbGzLu1WXrFUXw7qr6AMz5_iEkEAPV_Vs)




# Get the latest development version



The latest and greatest Bigsasnar version is the one that’s in our Git repository (our revision-control system). This is only for experienced users who want to try incoming changes and help identify bugs before an official release. Get it using this shell command, which requires [Git](https://https://git-scm.com/):

`git clone https://github.com/pokhrelb9/bigsansar.git`

You can also download a [gzipped tarball](https://https://pypi.org/project/Bigsansar/#files) of the development version. This archive is updated every time we commit code.


# After you install bigsansar
1) Type `bigsansar init` command for **automatically** setup server for internal configurations.

** this command valid into vertualenv for developer 

# for full setup in to server 

this is work only on ubuntu os 

2) type ` python manage.py setup_server` commend for fully setup into server .

[How to Setup a Full Server with BigSansar, Django, and Ubuntu
](https://youtu.be/iEmI0HO_U0E)

# some usefull link 
[sitemap.xml](http://localhost/sitemap.xml)
[script.js](http://localhost/script.js)
[styles.css](http://localhost/styles.css)

# how to edit sitemap , js and css from pages

create a page **slug** name with sitemap,script , styles


# How to change admin URL in server side with domain 
go to **VirtualHost.py** file and change **localhost** with your subdomain 
## Some usefull commands:

`python3 manage.py createuser` - get unlimited users.

## templatetags for extends and include 

{% extends '<domain_name>/<page_slug>.html' %}
{% include '<domain_name>/<page_slug>.html' %}



## load blog list in templates

`{% load blogs %}
{% get_blog as bloglist %}
          {% for list in bloglist %}
          <div class="card my-4">
                <h5 class="card-header">{{list.title}} - {{ list.domain }}</h5>
            <div class="card-body">
                <p class="card-text"> {{list.body|slice:":100"}} - {{ list.publish_date }}</p>
                <a href="/blog/{{list.slug}}"
                   class="btn btn-danger">Read More</a>
            </div>
          </div>
          {% endfor %}`


## get single blog objects

`{% load blogs %}
{% get_blog_object as get_blog %}
{{ get_blog.title }}
{{ get_blog.thumbnails }}
{{ get_blog.publish_date }}
{{ get_blog.domain }}
{{ get_blog.id }}
{{ get_blog.slug }}
{{ get_blog.body | safe }}
{{ get_blog.visitor }}
`

## Count visitor in your blogs
`{% load blogs %}
{% update_blog_visitor %}`

# get path slug 
{{ slug }}

## Load page list in templates

`{% load pages %}

{% get_pages  as listpage %}
{% for page in listpage %}
<div>
    < a href="{{ page.slug }}">{{ page.title }}</a>
</div>
{% endfor %}`


#### More variable for **page** list
* page.id
* page.domain
* page.title
* page.slug
* page.body
* page.visitor
* page.publish_date


## for single page title
* getpage.id
* getpage.domain
* getpage.title
* getpage.slug
* getpage.body
* getpage.visitor
* getpage.publish_date


## how to access domain system

* gethost.id
* gethost.user
* gethost.domain
* gethost.Description
* gethost.publish_date
* gethost.visitor


## How to access codesnippet in to bigsansar pages

**add this script in to html head **

{% load static %}
<script type="text/javascript" src="{% static 'ckeditor/ckeditor-init.js' %}"></script>
<script type="text/javascript" src="{% static  'ckeditor/ckeditor/ckeditor.js' %}"></script>
<link rel="stylesheet" href="{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css' %}"/>
<script src="{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js' %}"></script>
<script>hljs.initHighlightingOnLoad();</script>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pokhrelb9/bigsansar",
    "name": "Bigsansar",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "python, django host, bigsansar, django, django sites framework, django flatpages",
    "author": "Bikash Pokhrel",
    "author_email": "bigsansaroffice@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ef/5f/b4e2918456c843298d07abfe2e440e719e17dd6213ff1e309d04a1482700/Bigsansar-2.5.7.tar.gz",
    "platform": null,
    "description": "## New update\n* fixed some bugs\n* added new db table for nav always open or close.\n* now you can install bigsansar package in to ubuntu and all setup with on command lines\n\n# How to get Bigsansar\n\nBigsansar is available open-source under the [MIT](https://en.wikipedia.org/wiki/MIT_License) license. We recommend using the latest version of Python 3.\nBigsansar is Fully based on django and linux ubuntu.  You can use [bigsansar](https://bigsansar.com) for install packaged.\nYou can use\n[bigsansar](https://bigsansar.com)\nfor install packaged.\n\nview our tutorials in\n[youtube](https://youtube.com/bigsansar)\n\nfor playlist:\n[bigsansar for django](https://www.youtube.com/playlist?list=PLbGzLu1WXrFUXw7qr6AMz5_iEkEAPV_Vs)\n\n\n\n\n# Get the latest development version\n\n\n\nThe latest and greatest Bigsasnar version is the one that\u2019s in our Git repository (our revision-control system). This is only for experienced users who want to try incoming changes and help identify bugs before an official release. Get it using this shell command, which requires [Git](https://https://git-scm.com/):\n\n`git clone https://github.com/pokhrelb9/bigsansar.git`\n\nYou can also download a [gzipped tarball](https://https://pypi.org/project/Bigsansar/#files) of the development version. This archive is updated every time we commit code.\n\n\n# After you install bigsansar\n1) Type `bigsansar init` command for **automatically** setup server for internal configurations.\n\n** this command valid into vertualenv for developer \n\n# for full setup in to server \n\nthis is work only on ubuntu os \n\n2) type ` python manage.py setup_server` commend for fully setup into server .\n\n[How to Setup a Full Server with BigSansar, Django, and Ubuntu\n](https://youtu.be/iEmI0HO_U0E)\n\n# some usefull link \n[sitemap.xml](http://localhost/sitemap.xml)\n[script.js](http://localhost/script.js)\n[styles.css](http://localhost/styles.css)\n\n# how to edit sitemap , js and css from pages\n\ncreate a page **slug** name with sitemap,script , styles\n\n\n# How to change admin URL in server side with domain \ngo to **VirtualHost.py** file and change **localhost** with your subdomain \n## Some usefull commands:\n\n`python3 manage.py createuser` - get unlimited users.\n\n## templatetags for extends and include \n\n{% extends '<domain_name>/<page_slug>.html' %}\n{% include '<domain_name>/<page_slug>.html' %}\n\n\n\n## load blog list in templates\n\n`{% load blogs %}\n{% get_blog as bloglist %}\n          {% for list in bloglist %}\n          <div class=\"card my-4\">\n                <h5 class=\"card-header\">{{list.title}} - {{ list.domain }}</h5>\n            <div class=\"card-body\">\n                <p class=\"card-text\"> {{list.body|slice:\":100\"}} - {{ list.publish_date }}</p>\n                <a href=\"/blog/{{list.slug}}\"\n                   class=\"btn btn-danger\">Read More</a>\n            </div>\n          </div>\n          {% endfor %}`\n\n\n## get single blog objects\n\n`{% load blogs %}\n{% get_blog_object as get_blog %}\n{{ get_blog.title }}\n{{ get_blog.thumbnails }}\n{{ get_blog.publish_date }}\n{{ get_blog.domain }}\n{{ get_blog.id }}\n{{ get_blog.slug }}\n{{ get_blog.body | safe }}\n{{ get_blog.visitor }}\n`\n\n## Count visitor in your blogs\n`{% load blogs %}\n{% update_blog_visitor %}`\n\n# get path slug \n{{ slug }}\n\n## Load page list in templates\n\n`{% load pages %}\n\n{% get_pages  as listpage %}\n{% for page in listpage %}\n<div>\n    < a href=\"{{ page.slug }}\">{{ page.title }}</a>\n</div>\n{% endfor %}`\n\n\n#### More variable for **page** list\n* page.id\n* page.domain\n* page.title\n* page.slug\n* page.body\n* page.visitor\n* page.publish_date\n\n\n## for single page title\n* getpage.id\n* getpage.domain\n* getpage.title\n* getpage.slug\n* getpage.body\n* getpage.visitor\n* getpage.publish_date\n\n\n## how to access domain system\n\n* gethost.id\n* gethost.user\n* gethost.domain\n* gethost.Description\n* gethost.publish_date\n* gethost.visitor\n\n\n## How to access codesnippet in to bigsansar pages\n\n**add this script in to html head **\n\n{% load static %}\n<script type=\"text/javascript\" src=\"{% static 'ckeditor/ckeditor-init.js' %}\"></script>\n<script type=\"text/javascript\" src=\"{% static  'ckeditor/ckeditor/ckeditor.js' %}\"></script>\n<link rel=\"stylesheet\" href=\"{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css' %}\"/>\n<script src=\"{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js' %}\"></script>\n<script>hljs.initHighlightingOnLoad();</script>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Build one in minutes with bigsansar - a visual site building tool!",
    "version": "2.5.7",
    "project_urls": {
        "Bug Tracker": "https://github.com/pokhrelb9/bigsansar/issues",
        "Documentations": "https://docs.bigsansar.com/",
        "Homepage": "https://github.com/pokhrelb9/bigsansar"
    },
    "split_keywords": [
        "python",
        " django host",
        " bigsansar",
        " django",
        " django sites framework",
        " django flatpages"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b9f420fa988045fe23ef464c44117383a24109a4ad0b244cdd8282846c1370aa",
                "md5": "31311d691309a5c7d5eb5878a2d28b1b",
                "sha256": "3642a2e09d3e63272bcd0bd45a21c5e0bc63b1c8042f7ad35b19e8c54b3e4ed6"
            },
            "downloads": -1,
            "filename": "Bigsansar-2.5.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "31311d691309a5c7d5eb5878a2d28b1b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 113886,
            "upload_time": "2024-03-23T13:33:08",
            "upload_time_iso_8601": "2024-03-23T13:33:08.419163Z",
            "url": "https://files.pythonhosted.org/packages/b9/f4/20fa988045fe23ef464c44117383a24109a4ad0b244cdd8282846c1370aa/Bigsansar-2.5.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef5fb4e2918456c843298d07abfe2e440e719e17dd6213ff1e309d04a1482700",
                "md5": "3fe0a5bcb5f731747fa4d90b97ad4100",
                "sha256": "541adb0608ba1a38181467bc30f841ff6f4ee15ca2a24573eb591f96f51f5cfd"
            },
            "downloads": -1,
            "filename": "Bigsansar-2.5.7.tar.gz",
            "has_sig": false,
            "md5_digest": "3fe0a5bcb5f731747fa4d90b97ad4100",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 71589,
            "upload_time": "2024-03-23T13:33:11",
            "upload_time_iso_8601": "2024-03-23T13:33:11.651477Z",
            "url": "https://files.pythonhosted.org/packages/ef/5f/b4e2918456c843298d07abfe2e440e719e17dd6213ff1e309d04a1482700/Bigsansar-2.5.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-23 13:33:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pokhrelb9",
    "github_project": "bigsansar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "bigsansar"
}
        
Elapsed time: 0.23854s