Code Monkey home page Code Monkey logo

dark_sky's Introduction

DarkSky-Cognizant

Using the Dark Sky API, changing the color theme of the web page based on the weather conditions of a certain place.

Tools

Setting up the environment

Download and set up composer on your system. To check if composer installed successfully open your command line and type

composer

Install laravel using composer

composer global require "laravel/installer"

To create a new laravel project, navigate to the directory you want to create the project in. In the command line, type

laravel new <folder-name>

Running the project

Run the below command and copy the environment variables needed from .env.example into the .env file

touch .env

After copying the required values, run

php artisan key:generate

and make sure that APP_KEY now has a value. Cope your dark sky api key into the environment file. You will need to create an account to get the api key.

Assuming php has been installed, you can create and host your own development server locally on your system at http://localhost:8000 by navigating to your project directory and typing the following in your command line

php artisan serve

If the above command doesn't work, try running:

composer dump-autoload

You may also need to run:

composer update

dark_sky's People

Contributors

siddharthpant92 avatar siddharthpantcognizant avatar

Stargazers

Saish Redkar avatar

Watchers

 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.