GithubHelp home page GithubHelp logo

asett-type-e-submission's Introduction

Django Assessment

0. Prequisites

  1. Download and Install Python from https://www.python.org/downloads/

  2. To run the project, if you have downloaded it to you computer, the compand is;- python manage.py runserver or python3 manage.py runserver

  3. When the server is running, access the site here: http://127.0.0.1:8000

  4. Password Reset email can be found here https://mailtrap.io/inboxes/2393953/messages

  5. To run tests, the command is: pytest -s -v

1. How to get code and get started locally

  1. clone the project from github using git, if you don't have git installed on your computer,\n Download it here https://git-scm.com/ Follow a few steps to install and get started, you can follow this guide https://github.com/git-guides/install-git After setting up git, open the command prompt/terminal on your computer and type the following commands(after every command press enter);-

    i. cd Desktop
    ii. mkdir DjangoAssessment
    iii. cd DjangoAssessment
    iv. python -m venv assessmentenv
    v. source assessmentenv/bin/activate
    vi. git clone https://github.com/Paulndambo/ASETT-Type-E-Submission.git
    vii. cd ASETT-Type-E-Submission
    viii. pip install -r requirements.txt
    

    Note: The above instructions will work 100% on linux and mac computers, for windows you mignt need to check some things.

  2. If you don't want to install git on your laptop, click this link and download a zip file of the project into your computer https://github.com/Paulndambo/ASETT-Type-E-Submission.git

  3. You can also use the github desktop application, download it here, https://desktop.github.com/, download it and follow the prompt steps to get started.

    Note: After step 2 and 3 follow the steps on step 1.



2. Note, If you just want to run the project and test the interface

  1. On Docker, run the following command (assuming you have docker installed) docker run -p 8000:8000 40781998/django-crypto-app-assessment:latest
  2. Kubernetes, if you have access to a kubernetes cluster Follow the steps listed on step 1 of (How to get code and get started locally), Then run the following command kubectl apply -f k8s/

How to run tests, (this assumes you have downloaded the repository on to your laptop)

Run this command pytest -s -v

asett-type-e-submission's People

Contributors

paulndambo 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.