Coder Social home page Coder Social logo

chronotest_frontend's Introduction

ChronoTest_Frontend

Website for Tests in Chrono.

Setup:

Clone the repository

git clone https://github.com/felipegb94/ChronoTest_Frontend.git

Navigate to the cloned repos

cd ChronoTest_Frontend

Start a virtualenv

virtualenv chronoTestFrontend
source chronoTestFrontend/bin/activate

Install the required packages

pip install -r requirements.txt

In order to communicate with the API and make requests you need to have one of the registered users login. If you have that information create a json file that looks like this:

{
username: "SAMPLE USERNAME"
pw: "THE PASSWORD"
}

Then, change the PATH variable in config_example.py to the path to the json file that contains user information.

Finally, change the BACKEND variable in config_example.py to the url of the api:

BACKEND_URL = "URL to backend API. In my case it would be http://localhost:5000/chrono_test/api/"

Once all of this is done rename config_example.py to config.py

To start running the website: If virtual environment is running run the command

python run.py

If virtual environment is NOT running run the command:

chronoTestFrontend/bin/python run.py

chronotest_frontend's People

Contributors

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