Crates.io | acsim |
lib.rs | acsim |
version | 0.10.0 |
source | src |
created_at | 2024-01-05 00:53:36.665815 |
updated_at | 2024-01-05 00:53:36.665815 |
description | Basic imageboard engine written in actix-web |
homepage | |
repository | https://github.com/jbruws/acsim/ |
max_upload_size | |
id | 1089174 |
size | 137,174 |
acsim
- Asynchronous Simple ImageboardBasic imageboard engine written in rust
and actix-web
.
Features:
The engine is still in active development. Expect some bugs, missing features and drastic changes in design.
A Docker image is available for ACSIM, although it doesn't have persistent storage (yet). You can use it to test ACSIM or quickly spin up an instance. Run:
# docker run --net=host jbruws/acsim:0.10
Install the dependencies:
cargo
git
sqlite3
(if you will use SQLite database)postgresql
(if you will use Postgres database)libssl-dev
libmagic-dev
Clone the repository and enter it:
git clone https://github.com/jbruws/acsim.git
cd acsim
Once you're in the acsim
directory, run the setup.sh
script, either with SQLITE
argument and no username or POSTGRES
argument and username you wish to use to connect to the database. Here's examples:
./setup.sh POSTGRES postgres
./setup.sh SQLITE
View .env
and config.yaml
files and check them for any errors.
Finally, run the program:
cargo run
Once the compilation finishes, application logs will start appearing in the console and in acsim.log
file. Navigate to 127.0.0.1:8080
in your browser, and you should be greeted with ACSIM's home page. By default, the server will be accessible with any IP (0.0.0.0
), as long as the port 8080 is open.
@ZueffC - testing, coding advice
@CppCoder1, @Befrimon - testing