GithubHelp home page GithubHelp logo

daijobudes / flashcard Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.87 MB

A website that generates flashcards by providing documents using django framework.

License: GNU General Public License v3.0

Python 30.79% HTML 61.46% CSS 3.01% JavaScript 4.43% Batchfile 0.09% Shell 0.21%
django django-application html python python3

flashcard's Introduction

Lexicard

A website that generates flashcards by providing documents.

Contributors

Agosto, Fredierick @Poemeu

Apas, John Clyde @Glitch-1010

Caracena, Geralyn @alyn13

Cellan, Kate Aubrey @DaijobuDes

Genegabuas, Seejee @densentsu124

Setup

  1. Install python. Stable version 3.8.9 and Git.

  2. Clone this repository by opening a command prompt/terminal.

$ git clone https://github.com/DaijobuDes/flashcard
  1. Creation of the virtual environment.
$ cd flashcard
$ py -m venv .
  1. Activate the virtual environment.

On Windows Powershell:

PS> Set-ExecutionPolicy Unrestricted
PS> Scripts\activate

On Windows Command Prompt:

> Scripts\activate.bat

On Linux/Mac: (Make sure you have python3-pip installed)

$ source bin/activate
  1. Install requirements
$ pip3 install -r requirements.txt
  1. Run the server
$ py ./manage.py runserver

Deploying the server

Install nginx on linux.

$ sudo apt install nginx

Inside configuration folder, configure flashcard.conf, change fields to where you need to place them.

Add SSL server certificates in order to enable HTTPS mode. (HTTP mode, plain/text data exchange is NOT recommended.)

For the run_server file, edit both --user and --group to your desired username and execute chmod +x ./configuration/run_server while being in the root of the project.

Run with ./configuration/run_server.

flashcard's People

Contributors

alyn13 avatar daijobudes avatar densentsu124 avatar poemeu 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.