Git Product home page Git Product logo

exordle's Introduction

Exordle Deployment

Installation

git clone [email protected]:YoussefElshemi/Exordle.git

Once installed, you can navigate to the Exordle folder by using the following command:

cd ./Exordle

We will need to install all dependencies for this project by doing

python -m pip install -r requirements.txt

Microsoft Login

Next, we register an Azure application by clicking here. It should be set up to be a single tenant, with these three redirect URLs:

  • /microsoft/auth-callback
  • /microsoft/from-auth-callback
  • /microsoft/to-auth-callback

Create a .env file inside the exordle folder by navigating using

cd ./src/exordle
nano .env

The contents of this .env file should be as followed:

SECRET_KEY=<DJANGO SECRET KEY>
MICROSOFT_AUTH_CLIENT_SECRET=<CLIENT SECRET>

MICROSOFT_AUTH_CLIENT_SECRET can be obtained from the Azure application, the client and tenant ID also need to be stored in the settings.py file in the same directory.

After we will edit the settings file using the below command

nano settings.py

Here we will also change MICROSOFT_AUTH_CLIENT_ID and MICROSOFT_AUTH_TENANT_ID to their corresponding values from the Azure application.

Running

First navigate to your admin panel, here we need to change the "Sites" table and replace example.com in both fields with the correct new domain, eg. localhost:8000 if you are hosting locally.

Next, we need to populate our locations table, this will store all of the locations on campus which can be assosicated to words.

After locations are added, you can begin to add entries to the Words table, these should be words you want the user to guess.

exordle's People

Contributors

youssefelshemi avatar harveybellini avatar theosantos3 avatar quitterielacome avatar cerebralchip avatar guillemettec avatar guillemetteclouzeau 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.