Files
IfcOpenShell/src/opencdeserver/README.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
619 B
Markdown
Raw Normal View History

2021-08-04 07:44:24 +05:30
# Server-Test
2021-08-12 17:56:58 +10:00
```
$ pip install -r requirements.txt
$ cd bcfserver/
$ python
>>> from run import db
>>> db.create_all()
$ export FLASK_APP=run.py
$ flask run
```
Go to [http://localhost:5000](http://localhost:5000) to see the server
2021-08-04 07:44:24 +05:30
# Register the user
2021-08-06 11:20:05 +05:30
1. Go to http://localhost:5000/register to register the user
2. Create the client
3. For grant type enter authorization_code
4. For response_type enter code secret
5. Enter the scope and create the client
2021-08-04 07:44:24 +05:30
### You will be redirected to the page with the details of your client id and secret
2021-08-06 11:20:05 +05:30
# Foundation API
2021-08-04 07:44:24 +05:30
2021-08-06 11:20:05 +05:30
- Set the Base URL will be `http://127.0.0.1:5000/`