SolidOS / contacts-pane

Contact management: AddressBooks, Groups, Individuals and Organizations.
MIT License
8 stars 6 forks source link

Feature: Enable dev mode #60

Closed SharonStrats closed 2 years ago

SharonStrats commented 2 years ago

This enables you to work standalone with the new auth.

To test:

  1. Bring down branch
  2. Change links to webid and address book to your own in index.ts
  3. Npm run start

You should then see your address book at localhost:8080

Note: This is now in feature styles branch. I will close it off if that is accepted otherwise I will come back to this and change the few things that need to change after auth refactor.

bourgeoa commented 2 years ago
SharonStrats commented 2 years ago

Hi Alain, You just need to change the Address book to your own inside index.ts. This one is my own and it's a private resource. Sorry I should have made a public one to show. I can do that if. you want, just ping me on Gitter and I'll do it later.

bourgeoa commented 2 years ago

May be like in solid/profile-pane Dev where you have a WebID form, you could add a contactsUrl one.

timea-solid commented 2 years ago

I did not need the npm install @babel/core --save command but I did have to do npm install beforehand, which I think is normal the first time. Everything else works fine for me.

timbl commented 2 years ago

I find npm install works but with npm start I get a 3 Modue not Found errors, one like ERROR in ./individual.js 5:0-38 Module not found: Error: Can't resolve './lib/forms' in '/Users/timbl/src/github.com/solid/solidos/workspaces/contacts-pane'

timea-solid commented 2 years ago

I find npm install works but with npm start I get a 3 Modue not Found errors, one like ERROR in ./individual.js 5:0-38 Module not found: Error: Can't resolve './lib/forms' in '/Users/timbl/src/github.com/solid/solidos/workspaces/contacts-pane'

@timbl I think I solved that with simply npm run build...