Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethereumdegen/sampleapp-rails5-vue-devise
A sample ruby on rails application that implements vue, webpack, devise, and rails_admin
https://github.com/ethereumdegen/sampleapp-rails5-vue-devise
Last synced: 21 days ago
JSON representation
A sample ruby on rails application that implements vue, webpack, devise, and rails_admin
- Host: GitHub
- URL: https://github.com/ethereumdegen/sampleapp-rails5-vue-devise
- Owner: ethereumdegen
- Created: 2020-01-12T06:05:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T16:46:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T06:24:52.602Z (about 1 month ago)
- Language: CSS
- Size: 1.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Shopman Server
# have an artist make cool etherpunks swag , funny references to vitalik , llamas, etc .
2) add image uploads
https://medium.com/@anaharris/how-to-add-image-upload-functionality-to-your-rails-app-9f7fc3f3d042
## Devise TODO
===============================================================================
Some setup you must do manually if you haven't yet:
1. Ensure you have defined default url options in your environments files. Here
is an example of default_url_options appropriate for a development environment
in config/environments/development.rb:config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
In production, :host should be set to the actual host of your application.
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:root to: "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
<%= notice %>
<%= alert %>
4. You can copy Devise views (for customization) to your app by running:
rails g devise:views
===============================================================================
### Set up
#### postgres
> sudo -i -u postgres;
> psql
> create role payspec with createdb login password 'password';
> CREATE DATABASE payspec_development OWNER payspec;##### webpack
RAILS_ENV=development ./bin/rails webpacker:compile#### Running the site
rails s