Skip to content

DSC-IIIT-Surat/Interact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

One stop location

An initiative to create unofficial site of our college.

Contribution Guidelines

Please check contrib.md for contribution guidelines. Open for developers having idea about Django, HTML, CSS

Installation

The setup guidelines are according to ubuntu 16.04+ version

To install Django on your local machines use the below link

  1. Django Installation

  2. Install MYSQL: Since the entire database is based on mysql format ,create a mysql server on your machine . To install mysql use the below link: mysql

PLEASE NOTE .. After creating database as the above step follow the below commands

3.Creating the database Login into your mysql user account using command $mysql -u 'user name' -p In mysql shell create a database using command

mysql> CREATE DATABASE 'db name';

4.Configure database for adding tables In the terminal shell write the command

$sudo nano /etc/mysql/.my.cnf

It will open a empty file write out user credentials there

[client]
database='db_name'    
user='user name'
password='password'
default-character-set=utf8

!Note: write all the credentials without ' '

5.Restart your mysql server: Enter the following commands to restart the server

$ systemctl daemon-reload
$ systemctl restart mysql

if everything is configured well , your database will be configured with the app

6.To add migrations to django app In interact directory write the following commands

~/interact$ python3 manage.py makemigrations
~/interact$ python3 manage.py migrate

7.Finally running your machine:

~/interact$ python3 manage.py runserver

Your server will start at http://127.0.0.1:8000/interact/

Congrats you just started interact on your local server

Keep contributing . Hav a bug free code :)

For issues in installation

Open an issue with label installation-error Ping us your issues at our telegram channel telegram

Maintainers

Ekta Arora

Dhairya Patel

About

A site contaning all info (academic and non academic) of IIIT Surat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •