Skip to content

Commit

Permalink
Merge pull request #4 from credebl/main
Browse files Browse the repository at this point in the history
Sync latest codebase from the parent repository
  • Loading branch information
ankita-p17 authored Nov 13, 2024
2 parents 7a20f7a + 7aab8d4 commit 87c8e56
Show file tree
Hide file tree
Showing 194 changed files with 21,699 additions and 27,287 deletions.
16 changes: 7 additions & 9 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ PUBLIC_CRYPTO_PRIVATE_KEY=

PUBLIC_SHOW_NAME_AS_LOGO= # Please provide true if you want to give platform name with logo

PUBLIC_PLATFORM_NAME= # Please specify your paltform name
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID= # Please sepcify your client id
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET= # Please specify your client secrete

PUBLIC_PLATFORM_NAME=CREDEBL # Please specify your paltform name
PUBLIC_PLATFORM_LOGO= # Please specify your logo file link
PUBLIC_POWERED_BY= # Please specify your powered by org name
PUBLIC_POWERED_BY=AYANWORKS # Please specify your powered by org name
PUBLIC_PLATFORM_WEB_URL= # Please specify your platform web URL
PUBLIC_POWERED_BY_URL= # Please specify your support URL
PUBLIC_PLATFORM_DOCS_URL= # Please specify your documentation URL
PUBLIC_PLATFORM_GIT= # Please specify your Github URL
PUBLIC_PLATFORM_DOCS_URL=https://credebl.gitbook.io/docs # Please specify your documentation URL
PUBLIC_PLATFORM_GIT=https://github.com/credebl # Please specify your Github URL
PUBLIC_PLATFORM_SUPPORT_EMAIL= # Please specify your support email
PUBLIC_PLATFORM_TWITTER_URL= # Please specify your twitter URL
PUBLIC_PLATFROM_DISCORD_SUPPORT= # Please specify your discord support url





3 changes: 3 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
node-version: lts/*

- name: remove previous node module
run: rm -rf node_modules

- name: Build step
run: npm install && npm run build # 📝 Update the build command(s)

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json ./
COPY --from=build /app/dist ./dist
EXPOSE 3000
CMD [ "npm", "run", "preview" ]
CMD ["deno", "run", "--allow-net", "--allow-read", "--allow-env", "./dist/server/entry.mjs"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pnpm run preview

## Credit

The CREDEBL platform is built by Blockster Labs (Product Division of AyanWorks) team.
The CREDEBL platform is built by Blockster Labs (Product Division of AyanWorks).
For the core SSI capabilities, it leverages the great work from multiple open-source projects such as Hyperledger Aries, Bifold, Asker, Indy, etc.

## Contributing
Expand Down
17 changes: 12 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Deno from '@astrojs/deno';
import deno from '@deno/astro-adapter';
import { defineConfig } from 'astro/config';
import react from "@astrojs/react";
import sitemap from '@astrojs/sitemap';
Expand All @@ -8,15 +8,22 @@ const DEV_PORT = 3000;

// https://astro.build/config
export default defineConfig({
experimental: {
viewTransitions: true,
// experimental: {

// },
image: {
service: {
entrypoint: 'astro/assets/services/noop'
}
},

viewTransitions: true,
redirects: {
'/login': '/authentication/sign-in',
'/register': '/authentication/sign-up',
},

build:{
},
site: process.env.CI ? 'https://credebl-dev-ui.deno.dev' : `http://localhost:${DEV_PORT}`,
base: process.env.CI ? '/' : undefined,
output: 'server',
Expand All @@ -30,7 +37,7 @@ export default defineConfig({
integrations: [
//
sitemap(), tailwind(), react()],
adapter: Deno()
adapter: deno(),
});

if (typeof globalThis !== 'undefined' && typeof Deno !== 'undefined') {
Expand Down
29 changes: 29 additions & 0 deletions compass.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: studio
id: ari:cloud:compass:6095931c-8137-4ae1-822a-2d7411835fc7:component/9029b47a-062e-4e25-a761-a2c0fc9ebd98/ab57cc79-dffc-4048-a7b6-a13373617391
description: Modern UI for CREDEBL Platform built using Astro, Flowbite & Tailwind.
configVersion: 1
typeId: APPLICATION
ownerId: ari:cloud:identity::team/6fe50e36-8efb-47a6-aab5-ea47bd10ec4e
fields:
tier: 4
links:
- name: null
type: REPOSITORY
url: https://github.com/credebl/studio
relationships:
DEPENDS_ON: []
labels:
- decentralized-identifiers
- digital-public-goods
- digital-public-infrastructure
- language:typescript
- public-good
- public-goods
- self-sovereign-identity
- source:github
- user-interface
- verifiable-credentials
- w3c-did
- w3c-vc
- web
customFields: null
Loading

0 comments on commit 87c8e56

Please sign in to comment.