Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

FlorentinDUBOIS/achievements

Repository files navigation

achievements

Startup week-end achievements website

Installation

Dependencies

To compile and use this project, you will need some dependencies which are :

  • GNU Make
  • Go language
  • Go dep
  • Node.js
  • Npm

Install from sources

Firstly, clone the project into the $GOPATH:

git clone [email protected]:FlorentinDUBOIS/achievements.git $GOPATH/src/github.com/FlorentinDUBOIS/achievements

Now, go into the fresh install:

cd $GOPATH/src/github.com/FlorentinDUBOIS/achievements

From here, we have to build the user interface and the back-end.

Compile the backend

Install Go dependencies:

make dep

Build a release of the project:

make release

A release is now available in directory dist.

Compile the user interface

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Go into the ui directory:

cd ui

Install node.js dependencies

npm install

Finaly, build the user interface:

npm run build

Now, the user interface is statically compiled in the folder dist. This is the folder which should be served.