Giter VIP home page Giter VIP logo

freshmanguide's Introduction

======================== NITH Freshmen Guide

This is a repository to store the website that is intended to be used by a fresher at NITH. The website is under construction and will soon reach a alpha phase.

Join the chat at https://gitter.im/Nithmr/FreshmanGuide

To setup the development environment for the project, follow the instructions given below.

First of all, you need to install Laravel to run this project on your localhost.

Installation of Laravel

  • First get PHP and all its extension laravel depends on

PHP >= 5.5.9, OpenSSL PHP Extension, PDO PHP Extension, Mbstring PHP, Extension, Tokenizer PHP Extension

On Ubuntu you can get them by using,

sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php php-mysql php-mcrypt php-curl php-mbstring php-gettext php-zip
sudo apt install mysql-server mysql-client
  • Then install Composer (PHP's dependencies manager). Depending on you OS you can get it from Donwload Composer

On Ubuntu the best way to gloabally install composer is,

php -r "readfile('https://getcomposer.org/installer');" | php
sudo mv composer.phar /usr/local/bin/composer

or if you want to use curl,

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

Now composer will be availabe to you as a command.

  • Clone this repository, enter the project's directory and install all dependencies using composer
composer install
  • Make a mysql database
 mysql -u <username> -p
 create database database_name;
 Ctrl + C
  • Generate the key

Before running the project, you need to generate an application key for your clone of the project. Rename .env.example file to .env and then generate the key by running the following commands:

cp .env.example .env
php artisan key:generate

Open the file in any editor and make the changes in the following lines

DB_DATABASE=<database_name>
DB_USERNAME=<username>
DB_PASSWORD=<password>
  • Migrate the database
php artisan migrate
  • Now, you are ready to run the website on your localhost
php artisan serve

Visit http://localhost:8000 to confirm.

In case of any problems, feel free to share them with us in the gitter chat room. Keep contributing!

freshmanguide's People

Contributors

akarshit avatar akshendra avatar arihantverma avatar divyanshu013 avatar gitter-badger avatar paramsingh avatar rohanjaswal2507 avatar sagarkarira avatar

Watchers

 avatar  avatar  avatar

Forkers

sumit2310

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.