Make the upload bash script not upload your entire home dir
Set license to GPLv3.
Working on article metadata and list page.
Issue tracker: https://todo.sr.ht/~icefox/cf_issues
# Install rustup using rustup.rs browser https://rustup.rs/ # Install `rust` and setup beta, for now (will be stable soon) # Install postgres sudo apt install postgres libpq-dev
Initial database setup
# Create database: sudo -u postgres psql -c "CREATE DATABASE cf_test;" # Create user sudo -u postgres psql cf_test -c "CREATE USER cf_testuser WITH PASSWORD 'testpassword';" # Add DB URL to `.env` file # You may have to add a port to the postgres URL, idk echo 'DATABASE_URL=postgres://cf_testuser:testpassword@localhost/cf_test' > .env # Create shared data dir sudo mkdir -p /var/lib/cargofox sudo chown -R icefox:icefox /var/lib/cargofox echo 'DATA_DIR=/var/lib/cargofox/' >> .env # Install diesel helper tool. sudo apt install libsqlite3-dev libmariadb-dev-compat cargo install diesel_cli # Run migrations diesel migration run # Run unit tests cargo test
Environment variables, and their defaults.
All environment variables can be put in an .env file. There are no defaults, they must ALL be specified. Every time I've put a default in the program I've had it inconveniently do the Wrong Thing at some point and I've needed to specify something sensible anyway. :|
DATABASE_URL=no default DATA_DIR=no default OUTPUT_DIR=no default
Dependency::features()is not implemented
https://crates.io/api/v1/crates/<name>/<version>/download, see https://github.com/Xion/cargo-download/blob/master/src/main.rs
As https://www.reddit.com/r/rust/comments/ai7640/whats_everyone_working_on_this_week_42019/eepqa3i/ says: Have you thought about creating a bounties system for the top issues so that people who rely on those crates could easily identify problems and incentivize the community (or crate maintainers) to work on them? Maybe something like GitCoin or BountiesNetwork? https://gitcoin.co/ https://bounties.network/
For most of you, it wouldn't be possible to do this without you. For some, you just solved a very specific, not terribly simple problem and did it extremely well.