Code Monkey home page Code Monkey logo

trada's Introduction

trada

trade logo

SetUp instructions

1 | System Requirments

composer and npm must be installed

{
  sudo apt install composer;
  sudo apt install npm;
}

(OPTIONAL)run the following on your terminal

For future use in creating a new laravel project for the sake of convinience

composer global require laravel/installer

This error might arise

Your requirements could not be resolved to an installable set of packages.

Problem 1
  - Installation request for laravel/installer ^2.1 -> satisfiable by laravel/installer[v2.1.0].
  - laravel/installer v2.1.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.

To enable extensions, verify that they are enabled in your .ini files:
  - /etc/php/7.3/cli/php.ini
  - /etc/php/7.3/cli/conf.d/10-mysqlnd.ini
  - /etc/php/7.3/cli/conf.d/10-opcache.ini
  - /etc/php/7.3/cli/conf.d/10-pdo.ini
  - /etc/php/7.3/cli/conf.d/20-calendar.ini
  - /etc/php/7.3/cli/conf.d/20-ctype.ini
  - /etc/php/7.3/cli/conf.d/20-exif.ini
  - /etc/php/7.3/cli/conf.d/20-fileinfo.ini
  - /etc/php/7.3/cli/conf.d/20-ftp.ini
  - /etc/php/7.3/cli/conf.d/20-gettext.ini
  - /etc/php/7.3/cli/conf.d/20-iconv.ini
  - /etc/php/7.3/cli/conf.d/20-json.ini
  - /etc/php/7.3/cli/conf.d/20-mbstring.ini
  - /etc/php/7.3/cli/conf.d/20-mysqli.ini
  - /etc/php/7.3/cli/conf.d/20-pdo_mysql.ini
  - /etc/php/7.3/cli/conf.d/20-phar.ini
  - /etc/php/7.3/cli/conf.d/20-posix.ini
  - /etc/php/7.3/cli/conf.d/20-readline.ini
  - /etc/php/7.3/cli/conf.d/20-shmop.ini
  - /etc/php/7.3/cli/conf.d/20-sockets.ini
  - /etc/php/7.3/cli/conf.d/20-sysvmsg.ini
  - /etc/php/7.3/cli/conf.d/20-sysvsem.ini
  - /etc/php/7.3/cli/conf.d/20-sysvshm.ini
  - /etc/php/7.3/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, deleting ./composer.json.

in that case run the following commamd before and rerun the previous command

sudo apt-get install php7.3-zip

NOTE : during this proccess some packages might not be installed correctly so try it again untill it succeeds php 7.3.* must be used

2 | Cloning the repo

clone this the repo to your local machine

  git clone https://github.com/MULUALEM-TEKLE/trada.git

3 | Running the project

fire up your server stack(xampp , lampp , wampp , mamp)

make sure you hav atleast Apache and MySql are running , the database and username specified in your .env file must exist in your data base. please verify via phpMyAdmin

migrate the databases

cd into the repo directory and run the following command

php artisan migrate:fresh --seed

start the server

php artisan serve

verify that its working via your browser

trada's People

Contributors

mulualem-tekle avatar

Forkers

joe-nano

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.