Coder Social home page Coder Social logo

website's Introduction

Branch is pretty stable. Just do npm install and everything should work pretty fine. Make sure you have vue cli installed

quick start and help with front end

if you dont have key and cert, set NO_HTTPS on your .env file to true do npm run serve and vue cli will launch a front end hot reload server. its pretty much out of the box.
if you want to do some fancy stuff, read below

im bored what do i do?

ctrl+f -> all documents -> "TODO" and "FIXME"

node

uses v15.5.0. all other module dependencies only work with v15. if you project doesn't work just delete node_modules and abuse npm

express

this project uses express as backend. if you want to run this server WITH the backend, do npm run express
make sure to run npm run build so vue can build files to ./dist/

website

stem.help

database

Good news, we actually use a mongodb. bad news, good luck configuring it because im not going to put a whole tutorial on how to set up a mongodb

f*king mustarded mongo f*kin db wont evevn ducking show the mustarded stupid shit where the mongoose doesnt even frikin allow the connection option of pass and user aso you have to cencodiaifna;fioasjhfoidnf;oaisdfnasdo;inf;edosiaunf;oas

make sure the mongodb_uri contains auth info

configuring

/srv

# these are optional
HTTP_PORT=80
HTTPS_PORT=443
HOST_BASE=http://localhost:3000
COOKIE_SECRET=secret key. not required for dev server
DISCORD_CLIENT_SECRET=the discord application token
DISCORD_CLIENT_ID=the id
MONGODB_URI=mongodb uri. required. add auth info here
MONGODB_URI_AUTH=mongodb://admin:[email protected]:27017
DB_USER=admin user account (usually admin)
DB_PASS=the password
DB_AUTHSOURCE=the database to validate (usually admin)
PROCESS_NAME=used for pm2 restart on github. required if you want to test github push actions
STEM_DISCORD_DB=the database for stem discord. not required# mongodb://localhost:27018

srv/discordBot

DISCORD_BOT_TOKEN=the discord BOT token
DB_CHANNEL=channel id where media gets uploaded

pm2

npm run relaunch will automatically reset your environment and run a fresh server

vue setup

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

website's People

Contributors

nopeless avatar karunika avatar doublevcodes avatar tristianthedeveloper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.