ruby >= 2.7.0
rails ~> 6.1.4
In terminal or cmd
-
$ git clone [email protected]:XaoGao/Todoser.git -
$ gem install bundler- if needed -
$ bundle install -
$ cp .env.example .env -
$ docker-compose upfor postgresql in docker or$ docker-compose up -din background -
$ rails db:create -
$ rails db:migrate -
$ rails sfor server starting
Then open http://localhost:3000 at your web-browser
If the following error messages appear in the console:
@@ -34,10 +49,4 @@ container needs to be recreated:
-
$ docker-compose down -
$ docker-compose up --force-recreate