Skip to content

ledgerleapllc/devxdao-frontend

Repository files navigation

DevxDao Grant Portal Frontend

The DevxDao's grant and voting associates portal hosted at http://portal.devxdao.com

This is the frontend repo of the portal. Backend repo for this project is located here, https://github.com/ledgerleapllc/devxdao-backend

Prerequesites

Relies on NextJS/Vercel, and NodeJS version 14+

You can find documentation on NextJS here https://github.com/vercel/next.js/

You can find documentation on NodeJS here https://github.com/nodejs/help

Install and Deploy

First we need a server to use. Apache/Nginx

sudo apt -y install apache2
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod ssl
sudo apt-get update

Setup the repo according to our VHOST path. Note, the actual VHOST path in this case should be set to /var/www/devxdao-frontend/out

cd /var/www/
git clone https://github.com/ledgerleapllc/devxdao-frontend
cd devxdao-frontend

If you do not have Node installed yet, we use v14.x. Script below

curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt install nodejs -y

Install packages

npm install

You will need to copy over .env.example to .env.production and specify variables to fit the server on which you're deploying. You can also cp to .env.development for local dev testing.

cp .env.example .env.production

Build the project

npm run build-export

The above commands will build to out/ on site using the variables from your .env.production file.

Default user/passwords

Default user/admin logins are created in the portal during initial install. All the default logins that are created on install are given random hash passwords that can be found printed in your backend laravel log file that will look something like this:

[2021-11-30 18:13:51] production.INFO:  Created <type> admin
[2021-11-30 18:13:51] production.INFO:  Email: <email>
[2021-11-30 18:13:51] production.INFO:  Password: <random_password>

About

The DevxDao's grant and voting associates portal hosted at https://portal.devxdao.com

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 5