Website of the Hascord #stem-comp-sci hackathons.
- Create a
.env
file with the necessary info based on the outline provided insample.env
Please install the latest Node.JS version available for your platform. Then do the following steps:
- Clone the repository
- Move into the project directory with
cd HasJam/Client
- Install dependencies with
yarn install
- Start the server with
yarn run dev
We recommend running the API server locally via Docker, as Swift can be fairly finicky with non-macOS platforms. Not to say running Swift on Windows and Linux is impossible—official builds are available for each on The Swift Project's homepage. However, the Dockerfile will provide the best development experience, complete with development database et al, out of the box without much in the way of hassle.
If you decide to run via local, non-Docker builds, please look at the following steps:
- Install Swift 5.6 onto your local machine (guides available on Swift.org)
- Install the latest PostgreSQL version as well
- Clone the repository
- Move into the project directory with
cd HasJam
- Install dependencies with
swift package resolve
- Start the server with
vapor run
Docker instructions are as follows:
- Clone the repository
- Move into the project directory with
cd HasJam
- Run
docker compose up