All Projects → Gabriel439 → Simple Twitter

Gabriel439 / Simple Twitter

A bare-bones Twitter clone implemented in a single file

Labels

Projects that are alternatives of or similar to Simple Twitter

Static Haskell Nix
easily build most Haskell programs into fully static Linux executables
Stars: ✭ 310 (-55.59%)
Mutual labels:  nix
Dapptools
Dapp, Seth, Hevm, and more
Stars: ✭ 362 (-48.14%)
Mutual labels:  nix
Hnix
A Haskell re-implementation of the Nix expression language
Stars: ✭ 573 (-17.91%)
Mutual labels:  nix
Cachix
Command line client for Nix binary cache hosting:
Stars: ✭ 322 (-53.87%)
Mutual labels:  nix
Nixos Generators
Collection of image builders [[email protected]]
Stars: ✭ 355 (-49.14%)
Mutual labels:  nix
Nixos Hardware
A collection of NixOS modules covering hardware quirks.
Stars: ✭ 391 (-43.98%)
Mutual labels:  nix
Example Nix
a way to develop software with Nix
Stars: ✭ 306 (-56.16%)
Mutual labels:  nix
Niv
Easy dependency management for Nix projects
Stars: ✭ 669 (-4.15%)
Mutual labels:  nix
Dotfiles
And I say hey, what's going on?
Stars: ✭ 348 (-50.14%)
Mutual labels:  nix
Kubernix
Single dependency Kubernetes clusters for local testing, experimenting and development
Stars: ✭ 545 (-21.92%)
Mutual labels:  nix
My Mac Os
List of applications and tools that make my macOS experience even more amazing
Stars: ✭ 18,331 (+2526.22%)
Mutual labels:  nix
Devos
NixOS Framework
Stars: ✭ 338 (-51.58%)
Mutual labels:  nix
Awesome Nix
😎 A curated list of the best resources in the Nix community [[email protected]]
Stars: ✭ 388 (-44.41%)
Mutual labels:  nix
Snack
Nix-based incremental build tool for Haskell projects
Stars: ✭ 317 (-54.58%)
Mutual labels:  nix
Reflex Platform
A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.
Stars: ✭ 602 (-13.75%)
Mutual labels:  nix
Nix Config
My local Nix configuration
Stars: ✭ 306 (-56.16%)
Mutual labels:  nix
Nickel
Cheap configuration language
Stars: ✭ 367 (-47.42%)
Mutual labels:  nix
Fractalide
Reusable Reproducible Composable Software
Stars: ✭ 670 (-4.01%)
Mutual labels:  nix
Dotfiles
Zsh, Karabiner, VS Code, Sublime, Neovim, Nix
Stars: ✭ 634 (-9.17%)
Mutual labels:  nix
Nix
Nix, the purely functional package manager
Stars: ✭ 5,291 (+658.02%)
Mutual labels:  nix

simple-twitter

This is a project which has corresponding talk slides

This is a bare bones "Twitter clone" implemented in a single file that you can deploy to EC2

This uses:

The result looks like this:

Screenshot

Instructions

  1. Create an AWS account

    ... by following these instructions

  2. Install Nix:

    $ curl https://nixos.org/nix/install | sh
    
  3. Install the AWS command-line interface:

    $ nix-env --install awscli
    
  4. Configure your AWS credentials

    ... by following these instructions

    If you did this correctly you should have an ~/.aws/credentials file that looks similar to this:

    [default]
    aws_access_key_id = 
    aws_secret_access_key = 
    
  5. Install NixOps:

    $ nix-env --install nixops
    
  6. Build and redeploy the web application

    $ nixops create --deployment simple-twitter simple-twitter.nix
    $ nixops deploy --deployment simple-twitter --allow-reboot
    

If you make changes you can redeploy the application by re-running the last step:

$ nixops deploy --deployment simple-twitter --allow-reboot

To destroy the machine and clean up everything, run:

$ nixops destroy --deployment simple-twitter
$ nixops delete --deployment simple-twitter

Have fun! 🙂

Split files

You can also view the files split out by language:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].