GithubHelp home page GithubHelp logo

honours's Introduction

honours

honours is an attempt to clone awwwards. This repository contains the API. The front-end can be found here.

author

Timothy Oliver @ThukuWakogi

features

  1. login, register and sign out
  2. view projects
  3. add project

SetUp

To view a demo of the application, click here.

The source code for this application can be accessed.

a copy of the source code can be gotten through:

  • downloading the zip from github.
  • opening a terminal in the preferred directory then entering git clone https://github.com/ThukuWakogi/honours.git
  • using a git client such as Github desktop or GitKraken

installing

windows

  • In the root directory, create a virtual environment by opening command prompt or powershell and entering in python -m venv virtual
  • Activating the virtual environment may change based on the terminal or shell being used.
  • For command prompt, enter virtual\Scripts\activate or simply type in activate.
  • For powershell, the execution policy should be bypassed for the script to run. This can be done by entering Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass then proceeding on with entering ..\virtual\Scripts\Activate.ps1
  • Install packages. pip install -r requirements.txt
  • open a psql client and create a database called filtered_lenses CREATE DATABASE filtered_lenses;
  • Setting environment variables differs with the terminal or shell being used
  • make the migration files python manage.py makemigrations gallery
  • migrate the database python3.6 manage.py migrate
  • then start the server python manage.py runserver

unix

  • In the root directory, create a virtual environment by opening command prompt or powershell and entering in python3.x -m venv --without-pip virtual replace x with version in host machine, preferably version v3.6 for this project
  • Activate the virtual environment source virtual/bin/activate
  • Download pip into the virtual environment curl https://bootstrap.pypa.io/get-pip.py | python
  • Install packages. pip install -r requirements.txt
  • open a psql client and create a database called filtered_lenses CREATE DATABASE filtered_lenses;
  • make the migration files python manage.py makemigrations gallery
  • migrate the database python3.6 manage.py migrate
  • start the server python3.x manage.py runserver

Development tools

license

This project is under the MIT license. click here for more details

honours's People

Contributors

thukuwakogi avatar

Watchers

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