Giter VIP home page Giter VIP logo

opl-platform's Introduction

Open Project Lab

This project includes the constantly evolving OPL platform.

REQUIRED FILES (The files have been pinned in various Slack Channels) After cloning the project, make sure that you have the added the files containing the secret keys and passwords to their respective locations.

See the directory structure below.

Directory Structure

OPL Project Development Setup

Steps to setup project on your local machine:

Once the above packages are installed goto the project root folder and use the command below:

$pipenv install

(this installs all the required django packages for the project)

Now enter the virtual environment using:

$pipenv shell

(this will be the environment under which the project will run locally)

Switch to frontend directory inside the project folder(Contains the frontend React code).

Install React dependencies for frontend Development. Use command :

$npm install

Run the react server locally:

Run the django server locally:

  • Switch to opl directory (Contains the backend code) and run the following command:

$python manage.py collectstatic --noinput && python manage.py makemigrations && python manage.py migrate && python manage.py runserver"

Be in sync with package updates during development

It often happens that a developer installs a new third-party package(for react or django).

In such case, others must be in sync with these package updates.

To make sure you are up-to-date with the packages.After pulling the repo from github server, run the following commands (Inside the pipenv environment):

1 - $pipenv sync

2 - (Inside frontend directory): $npm install

Production Setup This project uses Docker for Containerization and deployment. (This section will be updated soon)

How to contribute Go through the list of open issues. Pick the one you are interested in, ask questions if you are unclear, check your code in and submit a pull request.

opl-platform's People

Contributors

tayyab-razzaq avatar abhi204 avatar irzelindo avatar setiadeepanshu 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.