Giter Club home page Giter Club logo

class-ultimate-classof2020's Introduction

Quick Installation Guide 2017-10-17

Too Quick Installation Process

  1. Clone This Repo or download As Zip.

  2. Activate Your Virtual Environment.

  3. Install All The Dependencies(Requirements.txt)

  4. Change Directory To The Base Directory(where you could get manage.py)

  5. In Your Terminal(or Command Prompt):

    python manage.py collectstatic
    python manage.py makemigrations
    python manage.py migrate
    
  6. To Run The Server:

    python manage runserver
    

Some Images


/ultimatewebsite/media/our_member.png


/ultimatewebsite/media/new_blogpost.png


/ultimatewebsite/media/blogpost_detail.png

Detailedd Installation Process

Installing Python

This is an django app. Django is written in 100% pure Python code, so you’ll need to install Python on your system. Django requires Python 2.3 or higher. If you’re on Linux or Mac OS X, you probably already have Python installed.

Type python at a command prompt (or in Terminal). If you see something like this, then Python is installed:

> python
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Otherwise, if you see an error such as "command not found", you’ll have to download and install Python

to get started. The installation is fast and easy.

Creating an isolated Python environment

A virtual environment (also called a virtualenv) is like a private box we can stuff useful computer code into for a project we're working on It is recommended that you use virtualenv to create isolated Python environments, so you can use different package versions for different projects, which is far more practical than installing Python packages system wide.

Linux

To install virtualenv:

pip install virtualenv

After you install virtualenv, create an isolated environment with the following command:

virtualenv myenvironment

Note: Here myenvironment can by any valid name you like.

Now, You created a virtual environment let's activate it:

To Activate:

source myenvironment/bin/activate

Congratz, You created a new virtualenv.

Requirements.txt

This file consist all the dependencies of this app, for eg: django, pytz, PIL etc. To install all the dependencies, just type:

pip install -r Requirements.txt

Make Sure You have active internet connection

This will install all the dependencies in your virtualenv. You can check this at site-packages folder of your virtualenv.


Now, All our dependencies are fullfilled.

  1. In your terminal, Change Directory to the Base Directory of our website. i.e the folder which consist manage.py:

    cd ultimatewebsite
    
  2. Then:

    python manage.py collectstatic
    python manage.py makemigrations
    python manage.py migrate
    
  3. To Run The Server:

    python manage runserver
    
  4. Click Here To Check If All Things Are Ready

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.