Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Latest commit

 

History

History
50 lines (32 loc) · 866 Bytes

readme.md

File metadata and controls

50 lines (32 loc) · 866 Bytes

Setup

Install rust https://www.rust-lang.org/

Install cargo - rust package manager https://doc.rust-lang.org/cargo/getting-started/installation.html

Run the project

cargo run

cd /var/www/appassembly ln -s ~/code/appassembly/static/dist/static static ln -s ~/code/appassembly/templates templates

Setup db

sudo apt install postgresql postgresql-contrib


apt-get install libpq-dev

cargo install diesel_cli --no-default-features --features postgres


createuser --interactive --pwprompt
aasm

grant all on aasmdb to aasm

psql --user aasm --password -d aasmdb --host localhost

Diesel ORM

diesel setup
diesel migration generate create_routes
diesel migration run

Installing spidermonkey (mozjs) requires a few additional dependencies

ERROR: Could not find autoconf 2.13 sudo apt-get install autoconf2.13 Version number is important