Skip to content

Commit

Permalink
Update .gitignore and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Miller committed Feb 6, 2024
1 parent 7803ae3 commit ce1325a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# python
data
backend/__pycache__/
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,26 @@ Frontend Electron + NextJS application for the Olas Operate App.
- Electron
- AntD
- TypeScript
- Python
- Flask
- Poetry


## Getting Started

First, run the development server:
### Install Yarn

```bash
npm install --global yarn
```

### Install dependencies

```bash
yarn
```

### Run the development app

```bash
yarn dev
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
"private": true,
"scripts": {
"build": "",
"dev": "concurrently -n \"NEXT,ELECTRON,FLASK\" -c \"yellow,blue,green\" --kill-others \"next dev\" \"electron .\" \"python backend/server.py\"",
"dev": "concurrently -n \"NEXT,ELECTRON,FLASK\" -c \"yellow,blue,green\" \"next dev\" \"electron .\" \"python3 backend/server.py\"",
"dev:next": "next dev",
"dev:python": "cd ./backend && poetry shell; cd ..; python3 backend/server.py",
"install": "yarn install:javascript && yarn install:python",
"install:javascript": "yarn install --ignore-scripts",
"install:python": "cd ./backend && poetry install",
"install:python": "cd ./backend; poetry --no-root install",
"lint": "next lint",
"start": "next start",
"test": "jest"
Expand Down

0 comments on commit ce1325a

Please sign in to comment.