noahcoolboy / brick-hosting

Source code for https://brick-hosting.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brick-hosting

Setup

Run the following command to install all the required libraries

npm i

Next, build the nuxt project with

npm run build

You will have to set a database up, you can get one for free at https://cloud.mongodb.com Once you have your cluster, create 2 databases (via mongodbcompass) One named brick-hosting, and one brick-hosting-testing Each database should have 2 collections: "savedata" and "users"

Configure your environment variables in ecosystem.config.js

DB: The url of your mongodb database. You can set one up for free on their official website
URL: The domain of your website
OAUTH_CLIENT_ID: The oauth client id provided by brick hill
OAUTH_CLIENT_SECRET: The oauth client secret provided by brick hill

Run brick hosting

pm2 start ecosystem.config.js

About

Source code for https://brick-hosting.xyz

License:MIT License


Languages

Language:JavaScript 61.9%Language:Vue 37.8%Language:CSS 0.2%Language:SCSS 0.1%