rrsk / HelloWorld

Open Development Initiative - NSIT Web Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HelloWorld

ODIN's Public Platform.

Contribution Guide

  • Backend All commits are to be made on the server branch.
  • Frontend All commits are to be made on the client branch.

Installation

git clone https://github.com/o-d-i-n/HelloWorld.git && cd HelloWorld
[sudo] pip install -r requirements.txt
cd app/client
[sudo] npm install
[sudo] npm run build
cd ../../

Create a config.py file here with the following contents.

MYSQL_USERNAME = 'DB_USER'
MYSQL_PASSWORD = 'DB_PASSWORD'
MYSQL_HOSTNAME = 'localhost'
MYSQL_DATABASE = 'DB_NAME'

If you don't have MySQL then run this first.

[sudo] apt-get install mysql-server 

Adding the MySql database into your system.

 mysql -u root -p --execute "create database DB_NAME; grant all on DB_NAME.* to DB_USER@localhost identified by 'DB_PASSWORD';"

Continue with the following to run the project.

python manage.py migrate
python manage.py setup
python manage.py runserver

Contributors

All the contributions have been now moved to Contributors file.

This project follows the all-contributors specification.

About

Open Development Initiative - NSIT Web Platform

License:MIT License


Languages

Language:Python 45.8%Language:JavaScript 30.6%Language:CSS 20.0%Language:HTML 3.6%