Almonaster is a web-based multi-player interstellar war game
To install your own server:
- Download the binary and site packages from https://github.com/mfeingol/almonaster/releases. The pdb package isn't needed.
- Unzip both packages into the same directory
- Open .\site\Config\Default.conf in a text editor
- Set the DatabaseConnectionString variable to a valid connection string
- Open a command prompt. Run Alajar.exe
- Open http://localhost in your web browser
- Clone the repo
- Open .\Source\Almonaster.sln in Visual Studio 2019
- Edit the Alajar.conf file as appropriate in the Alajar solution
- Edit the Default.conf file as appropriate in the Almonaster solution
- Select Alajar as the startup project
- Build the solution
- Run or debug the Alajar project
Binaries will be placed into .\Source\Drop<platform><configuration>
- Install SQL Server LocalDB
- Use the
sqllocaldb
tool
Create a new LocalDB instance. Run the following SQL, using the appropriate file names:
RESTORE DATABASE Almonaster
FROM DISK = 'Almonaster-2016-12-25.bak'
WITH MOVE 'Almonaster' TO 'Almonaster-2016-12-25.mdf',
MOVE 'Almonaster_log' TO 'Almonaster-2016-12-25.ldf',
REPLACE;