Skip to content

The source for the new Devathon Website, written in JavaScript/TypeScript

Notifications You must be signed in to change notification settings

JoinDevathon/NewDevathonWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devathon Website

Notes

  • While NPM can be used, YarnPkg is preferred for its speed and version locking.
  • Run yarn inside of client and server before running or building.

Setting up

  • Install MySQL, Redis, and a Node.js version that supports ES2015.

Client

The client code is written in Svelte, which is compiled before it's downloaded.

Scripts

Build for production:

yarn run build # build the client code and minify
yarn run server # build the client code for the server to render

Watch for development:

yarn run dev

Server

The server code is written in TypeScript, using the Express framework for routing. It pre-renders each webpage so that Svelte can start faster.

Setup

In order to run the server, you must copy server/config/config.default.ts to config.ts. Modify the defaults to match your setup.

Scripts

Run production:

yarn run build # run this every time you pull
yarn run run

Run development:

yarn run dev

Then connect to localhost:3000

About

The source for the new Devathon Website, written in JavaScript/TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published