Code Monkey home page Code Monkey logo

collectively's Introduction

l

Laravel

Filament admin panel

vite

Vorbereitung

falls port 80 belegt ist

sudo service apache2 status

oder

sudo service ngnix status
sudo service apache2 stop

oder

sudo service nginx stop

wenn mysql läuft

sudo service mysql stop

Installation with docker

1. Clone the project

git clone https://github.com/zerobitone/collectively.git

2. Run composer install

Navigate into project folder using terminal and run

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php82-composer:latest \
    composer install --ignore-platform-reqs

3. Copy .env.example into .env

cp .env.example .env

4. Start the project in detached mode

./vendor/bin/sail up -d

5. Set encryption key

./vendor/bin/sail artisan key:generate --ansi

6. Run migrations

./vendor/bin/sail artisan make:migration create_collectdb1_database
./vendor/bin/sail artisan migrate

7. Add Filament Admin user

./vendor/bin/sail artisan make:filament-user

8. Add Storage Link

./vendor/bin/sail artisan storage:link

9. Make Model Category

./vendor/bin/sail artisan make:model Category -m

10. Make Model Post

./vendor/bin/sail artisan make:model Post -m

11. Make Model CategoryPost

./vendor/bin/sail artisan make:model CategoryPost -m

Access to the docker container

./vendor/bin/sail bash

inside docker container run

npm install

and

npm run dev

to stop server

./vendor/bin/sail down -v

to start again

./vendor/bin/sail up -d

Alt

Rename the .env.example file to .env, and fill it with your local info, then:

Install PHP and JavaScript dependencies:

composer install
npm install

Generate Laravel keys:

php artisan key:generate

Run the Vite development server...

php artisan serve
npm run dev

Build and version the assets for production...

  npm run build

License

The Laravel framework is open-sourced software licensed under the MIT license.

collectively's People

Contributors

zerobitone 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.