Giter Club home page Giter Club logo

website-1's Introduction

GreenClothaWay : An Amazing Project

Prerequisites

python >= 3.6

pip3 lts

python-virtualenv

Preperation

Create a virtual environment and update PIP and wheel

python3 -m venv <venvname>
source <venvname>/bin/activate
pip install -U pip
pip install -U wheel

Installation

Install package. One can find the releases here

pip install greenclothaway-<release_version>-py3-none-any.whl

Configuration

mv <venvname>/lib/python3.8/site-packages/website/settings.py.sample <venvname>/lib/python3.8/site-packages/website/settings.py

Now in this settings.py , You have to add a Django Secret Key. You can also create a Secret Key by this python oneliner :

python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'

For a development server any random 50 character long string will do. Also , If you want to use another database then the default(sqlite) , You have to configure it here.

After that you will have to create a SuperUser and migrate Django database stuff'n all.

manage.py makemigrations
manage.py migrate
manage.py createsuperuser

The manage.py command will be available in your virtual environment after the installation.

Now you're all set to turn on your testserver on localhost!!

manage.py runserver

If you want to run this application on a productive server , You'll have to set up a webserver and configure it according to Djangos how to;

But thats on you dude!!

website-1's People

Contributors

zeno420 avatar schawnndev avatar ndthmdg98 avatar nicodiefenbacher avatar enrikb avatar abhi-a007 avatar

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.