-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
3,165 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"config": { | ||
"default": true, | ||
"line-length": { | ||
"strict": true, | ||
"code_blocks": false, | ||
"line_length": 100 | ||
}, | ||
|
||
// part of the markdownlint-rule-relative-links plugin | ||
"relative-links": true | ||
}, | ||
"globs": [ | ||
"**/*.{md,mdx}" | ||
], | ||
"ignores": [ | ||
"node_modules", | ||
"static" | ||
], | ||
"customRules": [ | ||
"markdownlint-rule-relative-links" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,45 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. | ||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website | ||
generator. | ||
|
||
### Installation | ||
## Installation | ||
|
||
``` | ||
$ yarn | ||
```bash | ||
yarn | ||
``` | ||
|
||
### Local Development | ||
## Local Development | ||
|
||
``` | ||
$ yarn start | ||
```bash | ||
yarn start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
This command starts a local development server and opens up a browser window. Most changes are | ||
reflected live without having to restart the server. | ||
|
||
### Build | ||
## Build | ||
|
||
``` | ||
$ yarn build | ||
```bash | ||
yarn build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
This command generates static content into the `build` directory and can be served using any static | ||
contents hosting service. | ||
|
||
### Deployment | ||
## Deployment | ||
|
||
Using SSH: | ||
|
||
``` | ||
$ USE_SSH=true yarn deploy | ||
```bash | ||
USE_SSH=true yarn deploy | ||
``` | ||
|
||
Not using SSH: | ||
|
||
``` | ||
$ GIT_USER=<Your GitHub username> yarn deploy | ||
```bash | ||
GIT_USER=<Your GitHub username> yarn deploy | ||
``` | ||
|
||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. | ||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and | ||
push to the `gh-pages` branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
presets: [require.resolve("@docusaurus/core/lib/babel/preset")], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
--- | ||
sidebar_position: 2 | ||
sidebar_position: 0 | ||
--- | ||
|
||
# Quickstart | ||
|
||
To quickly run bracket to see how it works, clone it and run `docker-compose up`: | ||
|
||
```bash | ||
git clone git@github.com:evroon/bracket.git | ||
cd bracket | ||
sudo docker-compose up -d | ||
``` | ||
|
||
This will start the backend and frontend of Bracket, as well as a postgres instance. You should now | ||
be able to view bracket at http://localhost:3000. You can log in with username `test@example.org` | ||
be able to view bracket at `http://localhost:3000`. You can log in with username `test@example.org` | ||
and password `aeGhoe1ahng2Aezai0Dei6Aih6dieHoo`. | ||
|
||
To insert dummy rows into the database, run: | ||
|
||
```shell | ||
sudo docker exec bracket-backend pipenv run ./cli.py create-dev-db | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a2cd121
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
bracket – ./
bracket-evroon.vercel.app
bracket-git-master-evroon.vercel.app
bracketsys.vercel.app
bscleiden.vercel.app