Giter Club home page Giter Club logo

vuedo's Introduction

Vuedo logo

Build Status Software License Join the chat at https://gitter.im/vuedo/Lobby

What is Vuedo?

Vuedo is an open source project built with Laravel and Vue.js. It is a live example of how everything works together.

Interested in more theory? Here is the official announcement.

Website using Vuedo in production : https://vuejsfeed.com/

Vue.js Feed is a place where News, Tutorials, Plugins, Showcases and more things regarding Vue are handpicked and shared with the community.

Dashboard Overview

Basic Features:

  • Manage posts and media
  • Categorize posts
  • User Roles
  • Content moderation
  • Markdown Editor
  • Amazon S3 integration
  • and more...

Installation

Download this repo.

Rename .env.example to .env and fill the options.

Run the following commands:

composer install
npm install
php artisan key:generate
php artisan migrate
php artisan db:seed
gulp
php artisan serve

If you are making changes to JavaScript or Styles make sure you run gulp watch.

Technical Description

You can find the technical description and a list with the libraries used in development here.

Documentation

Coming soon...

Issues

For technical questions and bugs feel free to open one issue.

Contribution

Soon a roadmap for contribution will be added so everyone will be welcome to join.

Stay In Touch

For latest releases and announcements, follow @vuedo on Twitter.

License

Vuedo is open-sourced software licensed under the MIT license.

vuedo's People

Contributors

alshahawi avatar crabbly avatar hootlex avatar m1guelpf avatar pongoman avatar stephane-monnot avatar vitr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vuedo's Issues

seed

php artisan db:seed
i got this error

[Spatie\MediaLibrary\Exceptions\FileCannotBeImported]
Only strings, FileObjects and UploadedFileObjects can be imported

Postgres Migration Problema

I'm using postgres and when i migrate the error bellow shows up.
'''
Migration table created successfully.

[Illuminate\Database\QueryException]
SQLSTATE[42830]: Invalid foreign key: 7 ERROR: there is no unique constrai
nt matching given keys for referenced table "roles" (SQL: alter table "user
s" add constraint "users_role_level_foreign" foreign key ("role_level") ref
erences "roles" ("level"))

[PDOException]
SQLSTATE[42830]: Invalid foreign key: 7 ERROR: there is no unique constrai
nt matching given keys for referenced table "roles"
'''

Maximum function nesting level of '100' reached, aborting!

Hi!!

I installed vuedo properly with composer, npm install, migration, seeding and gulp ran. All good.
but after php artisan serve and on localhost:8000
i encountered following err:

FatalErrorException in ClassLoader.php line 314: Maximum function nesting level of '100' reached, aborting!

Password reset route does not work

Clicking on reset password on login screen goes to route "password/reset".

This generates an error:

ErrorException in compiled.php line 14333:
View [themes.clean-blog.partials.layout] not found. (View: /var/www/vuedo/resources/views/themes/clean-blog/pages/auth/passwords/email.blade.php)

Default install with no changes.

How to login the dashboard

I hava set up successful but i found a problem that i can not login the background。就是登录不了后台 有什么办法登录吗? 进入后台管理 。Waiting for your reply!

error when running "php artisan key:generate" on install

Hi

I am getting an error when I get to the stage of "php artisan key:generate" when installing.
first there was a warning when I ran the NPM command before which said:

npm WARN EPACKAGEJSON [email protected] No repository field.

then when I went to generate the key, I got the following:

[ErrorException]
file_put_contents(/home/vagrant/Code/Sites/baanbase/.env): failed to open st
ream: Operation not permitted

I am working in a vagrant homestead box (PHP7) so everything should be up-to-date (or close to it) on my Mac

Blank dashboard page

after logging into dashboadr, blank white page is displayed. php rewrite mode is on, debug is set true. i'm running on xampp for windows

php artisan db:seed

[ErrorException]
join(): Passing glue string after array is deprecated. Swap the parameters

Feature: using vuejs-router

Hello,

I want to make a Blog, with the vuejs router. So I thought to fork this branch and integrate the vuejs router into it.

Do you see any disadvantages using the router for a blog-page (seo).
Is the work worth the better user usability?

Only strings, FileObjects and UploadedFileObjects can be imported

My OS is windows 10,
1、There is an error when running php artisan db:seed,as follow:

dell@DESKTOP-MVU77SM MINGW64 /d/wnmp/www/vuedo
$ php artisan db:seed
Seeded: RolesSeeder
New Admin created. Username: [email protected],  Password: 123pass
Seeded: UsersSeeder
Seeded: PostsSeeder


  [Spatie\MediaLibrary\Exceptions\FileCannotBeImported]
  Only strings, FileObjects and UploadedFileObjects can be imported

2、ignoring the first error,accessing homepage(http://vuedo.app/) ,there is an error, as follow:

RuntimeException in EncryptionServiceProvider.php line 45:
No supported encrypter found. The cipher and / or key length are invalid.

Trying to get in touch regarding a security issue

Hi there,

I couldn't find a SECURITY.md in your repository and am not sure how to best contact you privately to disclose a security issue.

Can you add a SECURITY.md file with an e-mail to your repository, so that our system can send you the vulnerability details? GitHub suggests that a security policy is the best way to make sure security issues are responsibly disclosed.

Once you've done that, you should receive an e-mail within the next hour with more info.

Thanks! (cc @huntr-helper)

500 internal error

I have renamed and filled int he .env file with the correct db details

Always getting 500 internal,

on npm install i get

  └── [email protected]

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No repository field.

running centos 6.8
apache

gulp is not work

sudo npm install is OK.
sudo npm install --global gulp is OK.

BUT What's wrong!!!

Another project use gulp is no problem.

vagrant@homestead:~/html/vuedo$ sudo gulp
module.js:442
    throw err;
    ^

Error: Cannot find module 'gulp-util'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/nginx/html/vuedo/node_modules/.3.9.1@gulp/index.js:5:13)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

Post slug is a hash

Hello!

I've cloned your repo and am looking around. Good work.

Seems like the post slug is always a hash. You can't have an url structure like this:

/blog/top-10-movies

You always end up with something like this:

blog/0b59020f

The posts seeded to the database during setup have the slug set to something human readable. So this is clearly not expected behavior.

phpunit results:

OK (56 tests, 184 assertions)

Another thing I don't understand is the Api\PostsController@store method.

$post->title = hash('adler32', time());

Why does it set the title of the post to this hash and save?
Regardless my database shows the title field is set correctly.

Thanks.

PostsMediaSeeder fails

php artisan db:seed
Seeded: RolesSeeder
New Admin created. Username: [email protected], Password: 123pass
Seeded: UsersSeeder
Seeded: PostsSeeder

[Spatie\MediaLibrary\Exceptions\FileCannotBeImported]
Only strings, FileObjects and UploadedFileObjects can be imported

求解一处代码

在路由里面传入了{posts}一个变量,这个变量名还必须是这样没改成其他的就不对了
image
跑到对应的controller为什么这个post变成了 Post模型
image

I tried to run this project on windows.

I installed PHP 7 and I followed the commands.

composer install
npm install
php artisan key:generate
php artisan migrate
php artisan db:seed
gulp
php artisan serve

G:\PHP\Laravel\vuedo-master>php artisan serve
�[32mLaravel development server started on http://localhost:8000/�[39m

I visited http://localhost:8000 but it does not display.

How can I fix it?

looking for python2 while running npm install

npm install fails saying

gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2

why is it looking for python2?

Can't register new user

I followed setup instructions. Everything seems working fine except registering new user. On filling email address and password (along with confirmation), when I click "Register" , it takes me back to the same /register route, nothing else seems to happen. I have checked database and no new user is registered!

which version of your nodejs and npm

Hello:
Could who tell me which version of this nodejs and npm.

when I run npm install , has error Build failed.

error info

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/***/vuedo/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-573.22.1.el6.x86_64
gyp ERR! command "/usr/bin/node" "/home/***/vuedo/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/***/vuedo/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass
gyp ERR! node -v v0.10.46
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
Build failed
npm ERR! weird error 1
npm ERR! not ok code 0

I think it is my nodejs or npm version is low,but I can't sure

How to set up on Apache

I can't find any information on setting this up on Apache. Could you please provide some?

gulp error

After gulp command Im getting this error
`internal/modules/cjs/loader.js:582
throw err;
^

Error: Cannot find module 'laravel-elixir'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (C:\wamp64\www\skelbimai\gulpfile.js:1:76)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)`

I have tried to reinstall gulp with
npm install laravel-elixir --save-dev
and
npm install laravel-elixir-vue-2 --save-dev
Nothing works for me

PHP7.2

[ErrorException]
count(): Parameter must be an array or an object that implements Countable

Npm Install laravel-elixir Unmet Peer Dependency

I run NPM install from a homestead server and I cannot run npm install succesfully. I get different errors including Not compatible with your operating system or architecture: [email protected]
NPM version is 3.8.6, PHP 7.0.8, Composer 1.2.2. Already did apt-get update and npm cache clear after deleting node-modules folder.

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.