Giter Club home page Giter Club logo

Comments (1)

shoeffner avatar shoeffner commented on August 24, 2024

This is a very old project, so I am not sure if you will still be able to get everything properly setup.

You need to put the modules/ui/dist directory (after a successful grunt build) to your domain (remember to change

{
    supportEmail: '[email protected]',
    apiHostBaseUrlValue: 'http://localhost:8080/api/v1'
}

as mentioned in modules/ui/README.md).
There is a problem with CORS when I try to run everything locally, so I need to be vigilant about the URLs (localhost works, 127.0.0.1 does not, I haven't digged deeper) – I am not exactly sure where to change that for a production system anymore.

To change the superadmin (admin/admin), make sure that you should change the migration files in
wasabi/modules/repository-datastax/src/main/resources/com/intuit/wasabi/repository/impl/cassandra/migration/V026__Insert_superadmins.cql or add a new one which deletes the admin/admin login and creates a new one, e.g.
wasabi/modules/repository-datastax/src/main/resources/com/intuit/wasabi/repository/impl/cassandra/migration/V037__change_superadmin.cql

DELETE FROM user_roles WHERE user_id='admin';
DELETE FROM app_roles WHERE user_id='admin';
DELETE FROM superadmins WHERE user_id='admin';
insert into user_roles (user_id, app_name, role) VALUES ('andrewtBST','*','superadmin');
insert into app_roles (app_name, user_id, role) VALUES ( '*','andrewtBST','superadmin');
INSERT INTO superadmins (user_id) VALUES ('andrewtBST');

I haven't tested this, but that should roughly be what you need to do. Maybe you need to look up the deletion syntax for CQL. Also I don't remember where/how to set the password... maybe it's admin by default as well, you can try it out.

Apart from that, everything else is pretty much server configurations: getting the URLs to point to wasabi and the UI, etc.

Once you done that, you can create experiments and use them as shown inside the contrib/client-demo example project.

Good luck!

from wasabi.

Related Issues (20)

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.