osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

Setting up locally. #108

Closed geohacker closed 7 years ago

geohacker commented 7 years ago

@Rub21 could you outline steps for setting up the backend locally? I've the following:

Questions:

Thank you!

cc @batpad @ajithranka

Rub21 commented 7 years ago

How does one create a user? What are the attributes needed?

The first session in to-fix-backend creates a user with superadmin role, you don't need any parameters in the to create it, only login with OSM and the greater the perception

image

I see a sample task in test/ but not sure if this is correct?

To create a task you can use: https://github.com/Rub21/tofix-cli 👇 but you ahve to import first your token

$ export token=eyJhbGc.... 
$ tfcli dev create --name 'test' --comment 'abc' --description 'abc' --file out.geojson 
kepta commented 7 years ago

Closing this in favour of the postgis rewrite #113