mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 11:20:21 +00:00
Minor code review
This commit is contained in:
@@ -1,19 +1,16 @@
|
||||
# Server-Test
|
||||
|
||||
1. Cd to the server directory i.e cd `IfcOpenShell\src\bcfserver`
|
||||
```
|
||||
$ pip install -r requirements.txt
|
||||
$ cd bcfserver/
|
||||
$ python
|
||||
>>> from run import db
|
||||
>>> db.create_all()
|
||||
$ export FLASK_APP=run.py
|
||||
$ flask run
|
||||
```
|
||||
|
||||
2. Set up the server by installing the dependencies
|
||||
|
||||
3. Run `pip install -r requirements.txt` to install the dependencies
|
||||
|
||||
4. In Python Shell, do the following
|
||||
|
||||
- from run import db
|
||||
- db.create_all() to setup the database table
|
||||
|
||||
5. Run `set FLASK_APP=run.py`
|
||||
6. Run `flask run` to start the server
|
||||
7. Go to [http://localhost:5000](http://localhost:5000) to see the server
|
||||
Go to [http://localhost:5000](http://localhost:5000) to see the server
|
||||
|
||||
# Register the user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user