#How to build
You need mono brew install mono
I'm using VSCode + Ionide
npm install -g foreman
You will need a postgres database. By default the app looks for its connection string
in the environment variable DATABASE_URL
.
#API
~/cache/<owner>/<repo>/issues/<issueid>
- gets and caches (forever) a github issue
In ~/migrations/up
are a set of SQL files you can run to construct the database
You will need to run them as admin. they create the user and database.
or
Run them as 'postgres' user:
./build.sh migrations
./build.sh
./build.sh test
./run.sh
or
foreman start
- if ruby based
or
nf start
- if node based
or
docker run -t -p 5000:5000 cache
(cache is what i named my docker image)
Syntax note: in the -p <host machine port>:<container port>
or
./run.sh docker
Install the Docker Beta
or
Install the Docker Toolbox
./build.sh docker
There is also a Docker compose file (docker-compose.yml
) that can be used to spin up
the postgres database for getting the full hosted experience.
docker-compose build
docker-compose up
http://localhost:5000
for the website
postgresql://localhost:5433/hucache
for the postgres instance (Connect with username huboard
and password huboard
)