Startup week-end achievements website
To compile and use this project, you will need some dependencies which are :
- GNU Make
- Go language
- Go dep
- Node.js
- Npm
Firstly, clone the project into the $GOPATH
:
git clone git@github.com: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.
Install Go dependencies:
make dep
Build a release of the project:
make release
A release is now available in directory dist
.
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.