The SuperReports app is a web application that imports Trade Solution data and delivers reports on them.
  • Ruby 58.7%
  • HTML 26.1%
  • SCSS 12.3%
  • JavaScript 1.9%
  • CoffeeScript 0.6%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Runar Ingebrigtsen f3811ce28a update cache key
2022-12-15 14:48:45 +01:00
app update cache key 2022-12-15 14:48:45 +01:00
bin allow every seller to get mail 2022-12-09 12:59:47 +01:00
config fix url 2022-12-10 11:31:44 +01:00
db add Account registration, email login 2022-11-22 14:53:37 +01:00
deploy update system gems 2022-12-10 11:13:02 +01:00
doc update doc 2019-08-14 01:35:13 -07:00
lib remove DistPricelist model 2021-06-30 15:45:25 +02:00
public favicon 2022-12-10 11:51:14 +01:00
storage initial data model, Rails 5.2.3 2019-08-02 13:16:37 -07:00
test remove M365 Auth 2022-11-22 13:41:18 +01:00
vendor you may mount development versions of oc and visma gems 2019-10-07 15:27:12 +02:00
.browserslistrc initial data model, Rails 5.2.3 2019-08-02 13:16:37 -07:00
.env.development if this no work 2021-06-24 12:58:48 +02:00
.gitignore ignore visma/oc schema dumps 2021-06-30 11:29:10 +02:00
.ruby-version updgrade Ruby to 2.7.6 2022-11-18 00:56:50 +01:00
babel.config.js initial data model, Rails 5.2.3 2019-08-02 13:16:37 -07:00
config.ru rails update:app 2021-06-29 20:32:59 +02:00
Gemfile upg uri 2022-12-10 11:02:13 +01:00
Gemfile.lock upg uri 2022-12-10 11:02:13 +01:00
LICENSE Initial commit 2017-11-13 18:24:37 +01:00
package.json added views to make it easer to navigate the datasea 2019-08-23 09:56:33 +02:00
postcss.config.js initial data model, Rails 5.2.3 2019-08-02 13:16:37 -07:00
Rakefile initial data model, Rails 5.2.3 2019-08-02 13:16:37 -07:00
README.md import data from production to development 2019-09-18 14:23:02 +02:00
Vagrantfile stop fetching every boot 2022-12-09 12:47:57 +01:00
yarn.lock added views to make it easer to navigate the datasea 2019-08-23 09:56:33 +02:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

Database initialization

Copy data from production:

./bin/fetch_trade_solution_data

Then enter the VM and import data inside the VM:

vagrant ssh

./bin/import_production_data

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

Deployment instructions

To deploy to the salgsdata host, you need to install your SSH key:

ssh-copy-id deploy@salgsdata

You may then provision the server with the Ansible playbook:

./bin/provision_production_inventory

Then you need to set up the git deploy tool:

gem install git-deploy git remote add production deploy@salgsdata:/apps/super-reports

And at last, you may push your changes:

git push production

  • ...