GithubHelp home page GithubHelp logo

devops's Introduction

devOps

To Clone repository and run on local machine:

Copy <>Code snippet from repository

Open terminal and create folder to clone repository into

Navigate to that folder in your terminal and enter the command where [code snippet] is the link from the <>Code tab on the repository:

git clone [code snippet]

Then write the following commands:

cd devOps cd blog python3 -m venv blog source blog/bin/activate python3 -m pip install django pip install django-cripy-forms pip3 install crispy-bootstrap4 python3 manage.py runserver

The second to last line from your terminal window should be: Starting development server at http://127.0.0.1:8000/

Copy and paste this link from the second to last line of the terminal into your browser: http://127.0.0.1:8000/

######################

also note these instructions were followed during development from this link at stackoverflow: https://stackoverflow.com/questions/75706202/attributeerror-settings-object-has-no-attribute-crispy-template-pack

" First include this in your settings.py

CRISPY_TEMPLATE_PACK = 'bootstrap4'

After doing that you might encounter a challenge that the template does not exist. If that occurs, make sure you have crispy-bootstrap installed - pip install crispy-bootstrap4 and add 'crispy_bootstrap4' to your list of INSTALLED_APPS.

"

#####################################

Note, these links and scripts were copy-paste from the devOps tutorial:

https://github.com/devopsjourney1/django-tutorial/blob/master/lab8/blog/website/templates/base.html

devops's People

Contributors

kyleconyers avatar

Watchers

 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.