Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Agile-forward/Devcash-Bounty

 
 

Repository files navigation

devcash

Devcash frontend

Build Setup!

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Run a new instance on vultr

Start a new server

  • Select Cloud compute
  • At least 2048mb memory
  • open the console

Create new user

# add new user
$ adduser username
# give the user sudo permission
$ usermod -aG sudo username
# login as the new user
$ su -- username

Install Redis

$ sudo apt update
$ sudo apt install redis-server
# test installation
$ redis-cli ping

Install Postgres

$ sudo apt update
$ sudo apt install postgresql
# Run psql as postgres user
$ sudo -u postgres psql

# once in the postgres console, create user, create database, and grant privileges
create role user_name with login password 'mypassword';
create database database_name;
grant all privileges on database database_name to user_name;

Configure systemd service

# Enter systemd directory
$ cd ../../etc/systemd/system

# create new service
$ sudo vim devcash.service

Image

# Test
$ cd
$ sudo systemctl start devcash

# Re-test
$ cd
$ sudo systemctl daemon-reload
$ sudo systemctl restart devcash

#Check status
$ cd
$ sudo systemctl status devcash.service

Image

Install Devcash-Bounty-Platform

# Clone Repo
$ https://github.com/BlockDevsUnited/Devcash-Bounty-Platform

# install dependencies
$ npm install


# build for production and launch server
$ npm run build

Configure nginx reverse proxy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 67.6%
  • JavaScript 26.0%
  • Shell 3.0%
  • SCSS 2.7%
  • Perl 0.7%
  • Dockerfile 0.0%