# Installation
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
# Built With
Rapua is built with the GOTH stack: Go, (SQLite), HTMX, and TailwindCSS.
# Prerequisites
Ensure you have Go installed on your machine. If not, you can download it from the official website here. Make sure the version is at least what is shown in the badge above. You can check the version by running the following command in your terminal:
go version
You will also need to have SQLite installed on your machine. If you don’t have it installed, you can download it from the official website here.
# Installing
- Clone the repo
git clone https://github.com/nathanhollows/Rapua.git
- Change into the project directory
cd Rapua
- Set the .env file
Update the .env file with your database detailscp .env.template .env
vi .env
- Build the project
Other build options are available includingmake build
make dev
,make tailwind-build
,make tailwind-watch
,make templ-watch
,make templ-generate
, andmake test
. - Run database migrations
./rapua db migrate
- Set folder permissions (Unix only)
This is required for the application to be able to write files to the uploads directory. You can change this to a more secure setting later.mkdir -p ./static/uploads chown -R $(whoami) ./static/uploads
- Run the project
./rapua
- Open your browser and navigate to
http://localhost:8090