- Rust 1.56 or newer installed
- Mysql C++ Driver/Connector installed
- Mysql Database Ready for use
- For SSL openssl library installed
- Node 16 installed and NPM installed
- Lots of Patience.
- Copy example.env to your working directory of the application and name it .env
- The only one you will need to edit will be the
DATABASE_URL
and BIND_URL if that port is already in use
- Follow all steps up to this point only changing the cargo build command
to
cargo build --release --features dev-frontend
- Then add a .env.local inside the site directory and add the value
VITE_API_URL=http://127.0.0.1:6742
Changing the URL if necessary. - You can at this point execute
npm run dev
with the backend executable running and work on the frontend
- I recommend following the Frontend development steps because using the frontend development mode will be easier
- Ignore the --release argument. Because you are doing development.