Skip to content

Blogchain's web application, decentralised discourse and publishing on web3.

License

Notifications You must be signed in to change notification settings

capsulesocial/capsule-vue

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d013b57 · Aug 19, 2022
Aug 19, 2022
Feb 22, 2022
Aug 16, 2022
Jul 22, 2021
Jun 24, 2022
Apr 21, 2022
Jul 26, 2021
Mar 13, 2021
Jul 13, 2022
Feb 22, 2022
Jul 13, 2022
Jul 21, 2022
Aug 11, 2022
Jul 20, 2022
Mar 15, 2022
Aug 11, 2022

Repository files navigation

Capsule-Vue

Capsule-Vue is the Front-End powering Capsule Social's platform interface.

Requirements

  • NodeJS v14.5.0 or higher.

Getting started

.env Setup

CONTRACT_NAME=dev-1657702549987-47675900699610
DOMAIN=http://localhost:3000

# ORBIT_URL=https://test-node.capsule.social/orbit
# ORBIT_URL=http://localhost:3001
# CAPSULE_SERVER=http://localhost:3500
CAPSULE_SERVER=https://alpha.capsule.social/server
ORBIT_URL=https://alpha.capsule.social/orbit

# Google
TORUS_GOOGLE_VERIFIER="capsule-social-google-tester"
TORUS_GOOGLE_CLIENTID="653379121360-j8t9ua763vfvd86d1qjguonhrgqvkigo.apps.googleusercontent.com"

# Discord
TORUS_DISCORD_VERIFIER="capsule-social-test-v2-discord"
TORUS_DISCORD_CLIENTID="906210984396468275"

Deploy Web App

# install dependencies
$ `yarn install`

# Server with hot reload on http://localhost:3000
$ `yarn web`

# Production build
$ yarn build:web

# Launch production Server
$ yarn start

Deploy an Electron App (Mac/Windows)

# install dependencies
$ `yarn install`

# Server with hot reload on Electron App
$ `yarn dev`

# Production build of electron app, delivered to /dist
# MacOS
$ yarn build:mac

# Windows
$ yarn build:win

Folder Structure

  • /build - stores icon and additional scripts for Electron builder
  • /mainprocess - includes JS for Electron main process
  • /src - includes Nuxt.js project

Dependencies/Packages:

For detailed explanation on how to setup your development environment, check out Setting up Capsule-Vue/Capsule-Orbit.