Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SigmaStar SoC info #132

Merged
merged 7 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.yarn

# Editor directories and files
.vscode/*
Expand Down
Binary file removed .yarn/install-state.gz
Binary file not shown.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@

Clone the repo and go into it:
```
git clone https://github.com/openipc/fancyweb-ng
git clone https://github.com/openipc/fancyweb-ng
cd fancyweb-ng
```

Install Node.js.
Enable Corepack.
Install Node.js.
Enable Corepack.

Install dependencies: `yarn install`
Run main site development: `yarn run dev-main`
Run cameras' site development: `yarn run dev-camera`
Run Storybook: `yarn run storybook`
Install dependencies: `yarn install`
Run main site development: `yarn run dev-main`
Run cameras' site development: `yarn run dev-camera`
Run Storybook: `yarn run storybook`

Builds are being preparing and be ready soon. Wait a bit.

## Alternative development way with docker
Run compose: `docker compose up`

### Technical support and donations

Expand Down
13 changes: 13 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
app:
tty: true
stdin_open: true
build:
context: ./docker
dockerfile: Dockerfile
restart: unless-stopped
command: dev-main
ports:
- 5173:5173
volumes:
- ./:/opt/app
10 changes: 10 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:lts-alpine

EXPOSE 5173
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
RUN mkdir -p /opt/app && corepack enable && corepack install --global pnpm

WORKDIR /opt/app
USER node

ENTRYPOINT ["docker/start_dev.sh"]
4 changes: 4 additions & 0 deletions docker/start_dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

yarn install
yarn run $1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ export type SoCItem = {
bootloader: string,
firmware: string,
featured: boolean,
core: null | string,
ai: null | number,
package: null | string,
encoder: null | string,
memory: null | number,
}

export type SoCManagedListProps = {
Expand Down
17 changes: 16 additions & 1 deletion src/components/widgets/vendors-list/constants/vendor-list.ts
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
export const vendorsListConstants = ['Allwinner' , 'Ambarella' , 'Anyka' , 'Fullhan' , 'Goke' , 'GrainMedia' , 'HiSilicon' , 'Ingenic' , 'MStar' , 'Novatek' , 'Rockchip' , 'SigmaStar' , 'TI' , 'Xiongmai'];
export const vendorsListConstants = [
'Allwinner',
'Ambarella',
'Anyka',
'Fullhan',
'Goke',
'GrainMedia',
'HiSilicon',
'Ingenic',
'MStar',
'Novatek',
'Rockchip',
'SigmaStar',
'TI',
'Xiongmai'
];
Loading