noahmanger / 5calls

Home Page:https://5calls.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

5calls

Setup for Dev

frontend

Install the requirements with: npm install

Then you can just use gulp to generate the site and watch for changes: gulp

In a new terminal, use any web server to serve the compiled source locally, like python: cd app/static && python -m SimpleHTTPServer

A development site should be available at http://localhost:8000

go

In the go directory, use the go tool to run the code: go run *.go

Deployment

Use the makefile in the go folder. You can make deploy to update the go server or make deploy_static to update the site.

When updating the go server, remember to log in, connect to the screen instance (screen -r) and stop the go process before replacing it via the deploy, otherwise you get "text file busy" errors in scp.

About

https://5calls.org


Languages

Language:JavaScript 48.0%Language:Go 30.3%Language:CSS 11.1%Language:HTML 9.6%Language:Makefile 1.1%