This is a 4X strategy game that aims to loosely clone the game Neptune's Pride.
Visit solaris.games to play now!
The server uses the following tech:
The client uses the following tech:
- Install the prerequisites.
- Clone the repository.
- Checkout
master
. npm install
in bothclient/
andserver/
directories.- Create a
.env
file inserver/
(See.env.example
). - Create a
.env
file inclient/
(See.env.example
). npm start
inserver/
npm run serve
inclient/
- Browse to the site locally (default http://localhost:8080).
Note: Development work is to be based on the master
branch, for a new feature or bug fix, create a branch from master
.
See the scripts/
directory for scripts that will perform the setup automatically.
- If you're on Windows and you get an error running
npm install
inserver/
complaining aboutnode-gyp
, try the following command:npm install --global --production windows-build-tools
- If you're using the VS Code debugger, especially for the
server/
, you'll need to set up yourlaunch.json
with these additional properties:"envFile": "${workspaceFolder}/server/.env"
in theconfiguration
.
See here.
See here.