todomvc-nix
Example on how to nixify a project [maintainer=@Rizary]
파일 탐색기
최종 버전 다운로드 (.zip)- .bash_profile
- .bashrc
- devcontainer.json
- docker-compose.yml
- Dockerfile
- nix-flake.yml
- settings.json
- Haskell.md
- Nix.md
- PostgreSQL.md
- Rust.md
- Main.hs
- Api.hs
- Db.hs
- TodoMain.hs
- Utils.hs
- .gitignore
- CHANGELOG.md
- hie.yaml
- LICENSE
- todo-haskell.cabal
- Api.hs
- Model.hs
- CHANGELOG.md
- LICENSE
- todo-common.cabal
- settings.json
- Main.hs
- cabal.project
- hie.yaml
- todo-miso.cabal
- cabal.project
- todoschema.sql
- todoschema.sql
- createtable.tmpl
- createtable.tmpl
- createtable.tmpl
- todoschema.sql
- sqitch.conf
- sqitch.plan
- default.nix
- migrate.nix
- pgutil.nix
- default.nix
- default.nix
- default.nix
- default.nix
- default.nix
- default.nix
- api.rs
- main.rs
- model.rs
- routes.rs
- ructe_tide.rs
- footer.rs.html
- header.rs.html
- index.rs.html
- not_found.rs.html
- build.rs
- Cargo.toml
- common
- lib.rs
- Cargo.toml
- index.html
- README.md
- app.rs
- lib.rs
- routing.rs
- todo.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- package.json
- rollup.dev.js
- rollup.prod.js
- yarn.lock
- yarn.nix
- .editorconfig
- .envrc
- .gitignore
- default.nix
- devshell.nix
- flake.lock
- flake.nix
- overlay.nix
- README.md
- References.md
- shell.nix
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/nix-community/todomvc-nix
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd todomvc-nix
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
cd rust
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
3. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cd rust
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
// repository documentation
Was this content helpful?
(0 ratings)
