Nothing Special   »   [go: up one dir, main page]

Skip to content

Immutable, decentralized, uncensored, rewarding communities built, owned and operated by its users

License

Notifications You must be signed in to change notification settings

spknetwork/ecency-boilerplate

 
 

Repository files navigation

Discord Twitter Follow GitHub Repo stars

Ecency vision – Ecency Web/Desktop client

ecency

Immutable, decentralized, uncensored, rewarding communities powered by Hive.

Fast, simple and clean source code with Reactjs + Typescript.

Website

Desktop app

Please check latest version on Release page or Ecency link.

  • Mac users: Ecency-3.x.x.dmg
  • Windows users: Ecency.Setup.3.x.x.exe
  • Linux users: ecency-surfer_3.x.x_amd_64.deb, Ecency-3.x.x.AppImage, ecency-surfer-3.x.x.x86_64.rpm, ecency-surfer-3.x.x.tar.gz

Developers

Feel free to test it out and submit improvements and pull requests.

Build instructions

Requirements
  • node ^12.0.0
  • yarn
Clone

$ git clone https://github.com/ecency/ecency-vision

$ cd ecency-vision

Install dependencies

$ yarn

Edit config file or define environment variables

$ nano src/config.ts

Environment variables
  • USE_PRIVATE - if instance has private api address and auth (0 or 1 value)
Start website in dev

$ yarn start

Start desktop in dev

$ cd src/desktop $ yarn $ yarn dev

Pushing new code / Pull requests
  • Make sure to branch off your changes from development branch.
  • Make sure to run yarn test and add tests to your changes.
  • Make sure new text, strings are added into en-US.json file only.
  • Code on!

Docker

You can use official ecency/vision:latest image to run Vision locally, deploy it to staging or even production environment. The simplest way is to run it with following command:

docker run -it --rm -p 3000:3000 ecency/vision:latest

Configure the instance using following environment variables:

  • USE_PRIVATE
docker run -it --rm -p 3000:3000 -e USE_PRIVATE=1 ecency/vision:latest

Swarm

You can easily deploy a set of vision instances to your production environment, using example docker-compose.yml file. Docker Swarm will automatically keep it alive and load balance incoming traffic between the containers:

docker stack deploy -c docker-compose.yml -c docker-compose.production.yml vision

Contributors

Contributors

Issues

To report a non-critical issue, please file an issue on this GitHub project.

If you find a security issue please report details to: security@ecency.com

We will evaluate the risk and make a patch available before filing the issue.

About

Immutable, decentralized, uncensored, rewarding communities built, owned and operated by its users

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.6%
  • SCSS 20.6%
  • Other 0.8%