docs: update new options for config in the example file
This commit is contained in:
parent
3fae2365bf
commit
45823b02e4
2 changed files with 16 additions and 10 deletions
14
README.md
14
README.md
|
@ -35,7 +35,7 @@ flask db upgrade
|
|||
```
|
||||
|
||||
Before the application can be run, it will need to be configured.
|
||||
Run `cp config.yaml.example config.yaml`, and edit it accordingly. Note that at least one could provider must be configured for the application to run.
|
||||
Run `cp config.yaml.example config.yaml`, then edit `config.yaml` accordingly. Note that at least one cloud provider must be configured for the application to start successfully.
|
||||
To run the application:
|
||||
|
||||
```
|
||||
|
@ -43,16 +43,10 @@ flask run --host=0.0.0.0 --port=5000
|
|||
```
|
||||
|
||||
### New frontend
|
||||
To use the new portal frontend:
|
||||
To build the new portal frontend:
|
||||
|
||||
```bash
|
||||
git clone https://gitlab.com/guardianproject-ops/bypass-censorship/portal-frontend.git frontend
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
mkdir -p ../app/static/ui
|
||||
cp -r dist/* ../app/static/ui
|
||||
```
|
||||
make install-frontend
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue