Add user model through devise. Add some basic layout. Start testing in travis.
This commit is contained in:
1 parent
1bc17c462a
commit
b7b1e2b3fd
45 files changed
+599
-155
No files matched your search
@@ -61,4 +61,7 @@ Rails.application.configure do
|
||||
# Use an evented file watcher to asynchronously detect changes in source code,
|
||||
# routes, locales, etc. This feature depends on the listen gem.
|
||||
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
|
||||
# Reload everything besides classes
|
||||
config.reload_classes_only_on_change = false
|
||||
end
|
||||
@@ -1,4 +1,5 @@
|
||||
Rails.application.routes.draw do
|
||||
devise_for :users
|
||||
get 'pages/home'
|
||||
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
|
||||
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
const { environment } = require('@rails/webpacker')
|
||||
|
||||
const webpack = require("webpack");
|
||||
|
||||
// Add an additional plugin of your choosing : ProvidePlugin
|
||||
environment.plugins.prepend(
|
||||
"Provide",
|
||||
new webpack.ProvidePlugin({
|
||||
$: "jquery",
|
||||
jQuery: "jquery",
|
||||
jquery: "jquery",
|
||||
"window.Tether": "tether",
|
||||
Popper: ["popper.js", "default"] // for Bootstrap 4
|
||||
})
|
||||
);
|
||||
|
||||
module.exports = environment
|
||||
Reference in new issue
Block a user